Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cerulean)
  • No Skin
Collapse
Brand Logo

Fórum

  1. Home
  2. Uživatelské návody
  3. Běžné příkazy pro denní potřebu

Běžné příkazy pro denní potřebu

Scheduled Pinned Locked Moved Uživatelské návody
1 Posts 1 Posters 472 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • raven2czR Offline
    raven2czR Offline
    raven2cz
    wrote on last edited by
    #1

    Běžné příkazy pro denní potřebu

    Staré exporty některých poznámek. Pořád ale většina platných. Můžeme sem postupně přihazovat další...

    spusteni procesu na pozadi s ignorivanim logout subsequence, zustane bezet

    nohup ./black-horse.sh &
    

    zabiti konkretniho procesu

    kill -9 processId
    

    seznam procesu

    ps -A  
    

    nastavení eth1

     sudo ifconfig eth1 192.168.1.10 netmask 255.255.255.0 up
    

    Edit Cron
    http://www.tecmint.com/11-cron-scheduling-task-examples-in-linux/

    crontab -e
    

    Hledání dle jména

    whereis test
    locate test
    sudo find / -name test
    

    Rychlé prohledávání obsahu souborů
    instalovat

    sudo paru -S the_silver_searcher
    

    Použití na celý systém bez výpisu chyb a ignorováním připojených mount bodů

    sudo ag --silent --one-device confluence.sh /
    

    Zjisteni bezicich procesu

    ps ax | grep java
    

    Výpis log souboru

    tail -f /data/logs/osgi.log -n 100
    konec: ctrl+C
    

    Wget stahování HTTP/FTP

    wget -o log -O res -Presult.txt http://192.168.1.2:8080/echoGet?name=ahoj
    

    Navod na SSH Server Cygwin pro Windows:
    https://dbaportal.eu/2015/03/05/installing-openssh-cygwin-1-7-35-on-windows-2012-r2/

    Pristup remote k lokalnimu portu forwardingu pres GateWay
    http://superuser.com/questions/588591/how-to-make-ssh-tunnel-open-to-public

    Počasí:

    curl -4 http://wttr.in/Pilsen
    

    Update-Motd

    sudo run-parts /etc/update-motd.d  - zjistit co se blbe sestavuji v welcome do ssh
    

    Thread dump

    kill -3 processJavaId
    

    DSA 3.6.1 tgz extract

    tar -xvzf prodismcd_mcdkernel_openmatics_3.6.1.tgz
    

    Změna terminalu na základní barvy ne 256 colors

    TERM=vt100
    

    Ruční nahození CANu

    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
    

    Delete specific host from the known_hosts

    ssh-keygen -f "/home/box/.ssh/known_hosts" -R 192.168.1.1
    

    pip3 upgrade all packages

    pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip3 install -U
    
    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups