<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Běžné příkazy pro denní potřebu]]></title><description><![CDATA[<h3>Běžné příkazy pro denní potřebu</h3>
<p dir="auto">Staré exporty některých poznámek. Pořád ale většina platných. Můžeme sem postupně přihazovat další...</p>
<p dir="auto"><strong>spusteni procesu na pozadi s ignorivanim logout subsequence, zustane bezet</strong></p>
<pre><code>nohup ./black-horse.sh &amp;
</code></pre>
<p dir="auto"><strong>zabiti konkretniho procesu</strong></p>
<pre><code>kill -9 processId
</code></pre>
<p dir="auto"><strong>seznam procesu</strong></p>
<pre><code>ps -A  
</code></pre>
<p dir="auto"><strong>nastavení eth1</strong></p>
<pre><code> sudo ifconfig eth1 192.168.1.10 netmask 255.255.255.0 up
</code></pre>
<p dir="auto"><strong>Edit Cron</strong><br />
<a href="http://www.tecmint.com/11-cron-scheduling-task-examples-in-linux/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.tecmint.com/11-cron-scheduling-task-examples-in-linux/</a></p>
<pre><code>crontab -e
</code></pre>
<p dir="auto"><strong>Hledání dle jména</strong></p>
<pre><code>whereis test
locate test
sudo find / -name test
</code></pre>
<p dir="auto"><strong>Rychlé prohledávání obsahu souborů</strong><br />
instalovat</p>
<pre><code>sudo paru -S the_silver_searcher
</code></pre>
<p dir="auto">Použití na celý systém bez výpisu chyb a ignorováním připojených mount bodů</p>
<pre><code>sudo ag --silent --one-device confluence.sh /
</code></pre>
<p dir="auto"><strong>Zjisteni bezicich procesu</strong></p>
<pre><code>ps ax | grep java
</code></pre>
<p dir="auto"><strong>Výpis log souboru</strong></p>
<pre><code>tail -f /data/logs/osgi.log -n 100
konec: ctrl+C
</code></pre>
<p dir="auto"><strong>Wget stahování HTTP/FTP</strong></p>
<pre><code>wget -o log -O res -Presult.txt http://192.168.1.2:8080/echoGet?name=ahoj
</code></pre>
<p dir="auto"><strong>Navod na SSH Server Cygwin pro Windows:</strong><br />
<a href="https://dbaportal.eu/2015/03/05/installing-openssh-cygwin-1-7-35-on-windows-2012-r2/" target="_blank" rel="noopener noreferrer nofollow ugc">https://dbaportal.eu/2015/03/05/installing-openssh-cygwin-1-7-35-on-windows-2012-r2/</a></p>
<p dir="auto"><strong>Pristup remote k lokalnimu portu forwardingu pres GateWay</strong><br />
<a href="http://superuser.com/questions/588591/how-to-make-ssh-tunnel-open-to-public" target="_blank" rel="noopener noreferrer nofollow ugc">http://superuser.com/questions/588591/how-to-make-ssh-tunnel-open-to-public</a></p>
<p dir="auto"><strong>Počasí:</strong></p>
<pre><code>curl -4 http://wttr.in/Pilsen
</code></pre>
<p dir="auto"><strong>Update-Motd</strong></p>
<pre><code>sudo run-parts /etc/update-motd.d  - zjistit co se blbe sestavuji v welcome do ssh
</code></pre>
<p dir="auto"><strong>Thread dump</strong></p>
<pre><code>kill -3 processJavaId
</code></pre>
<p dir="auto"><strong>DSA 3.6.1 tgz extract</strong></p>
<pre><code>tar -xvzf prodismcd_mcdkernel_openmatics_3.6.1.tgz
</code></pre>
<p dir="auto"><strong>Změna terminalu na základní barvy ne 256 colors</strong></p>
<pre><code>TERM=vt100
</code></pre>
<p dir="auto"><strong>Ruční nahození CANu</strong></p>
<pre><code>canconfig can0 bitrate 250000
ip link set can0 up
candump 
note: pro traxon EL40 nastavit bitrate na 500000 a vypnout v rawAcquisition.xml CAN1 a ISO-TP0
</code></pre>
<p dir="auto"><strong>Delete specific host from the known_hosts</strong></p>
<pre><code>ssh-keygen -f "/home/box/.ssh/known_hosts" -R 192.168.1.1
</code></pre>
<p dir="auto"><strong>pip3 upgrade all packages</strong></p>
<pre><code>pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip3 install -U
</code></pre>
]]></description><link>https://forum.arch-linux.cz/topic/24/běžné-příkazy-pro-denní-potřebu</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 14:04:34 GMT</lastBuildDate><atom:link href="https://forum.arch-linux.cz/topic/24.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 20 Mar 2022 11:39:39 GMT</pubDate><ttl>60</ttl></channel></rss>