scripting:bash
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
scripting:bash [2015-09-20 22:13] – created root | scripting:bash [2016-05-20 17:02] (current) – root | ||
---|---|---|---|
Line 2: | Line 2: | ||
* [[scripting: | * [[scripting: | ||
+ | |||
+ | |||
+ | ===== Quiet Job-Control ===== | ||
+ | |||
+ | Example of a command execution: | ||
+ | <code bash> | ||
+ | # sleep 1 | ||
+ | # sleep 1 & | ||
+ | [1] 31358 | ||
+ | # | ||
+ | [1]+ Done sleep 1 | ||
+ | </ | ||
+ | |||
+ | To prevent the whole job control output, execute the task in a subshell: | ||
+ | <code bash> | ||
+ | # (sleep 1 &) | ||
+ | </ | ||
+ | |||
+ | Or if there are multiple commands: | ||
+ | <code bash> | ||
+ | # ((sleep 1; sleep 1 )&) | ||
+ | </ | ||
+ | |||
+ |
scripting/bash.1442780036.txt.gz · Last modified: 2015-09-20 22:13 by root