Useful Bash Commands

A list of commonly used bash commandspwdx then PID for which process / directory that PID was run from
ps ax – list all process
screen – Create new screen
screen – ls to list screens
screen -S ASECO ./start.sh (Starts ./start.sh in screen window named ASECO)
When in screen CTRL + A then D to detach and return to bash
VI filename to open file for editing
within vi – I to insert
:q :w to quit / write

Print Friendly, PDF & Email

More Like This


Categories


Linux

Tags


  • Post a comment