File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,12 @@ nice [process name]
115115# Kill misbehaving process (use sparingly, last resort, try 'nice' command first):
116116pkill [process name]
117117
118+ # Start a process in the background
119+ [command] &
120+
121+ # Start a process in the background and have it keep running after you log off
122+ nohup [command] &
123+
118124**** Compression and Encryption:
119125
120126# Make a simple compressed backup of a file or directory:
@@ -175,6 +181,9 @@ gpg-zip -o encrypted-filename.tgz.gpg -c -s file-to-be-encrypted
175181# Works like |, but it writes output to both target and terminal:
176182tee [target]
177183
184+ # Redirect standard output and error into a black hole
185+ [command] > /dev/null 2>&1
186+
178187**** Controlling Execution:
179188# Wait until [command 1] is finished to execute [command 2]
180189[command 1] ; [command 2]
You can’t perform that action at this time.
0 commit comments