scripting:bash
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
scripting:bash [2016-01-18 14:18] – root | scripting:bash [2016-05-20 17:02] (current) – root | ||
---|---|---|---|
Line 7: | Line 7: | ||
Example of a command execution: | Example of a command execution: | ||
- | < | + | < |
# sleep 1 | # sleep 1 | ||
# sleep 1 & | # sleep 1 & | ||
Line 16: | Line 16: | ||
To prevent the whole job control output, execute the task in a subshell: | To prevent the whole job control output, execute the task in a subshell: | ||
- | < | + | < |
# (sleep 1 &) | # (sleep 1 &) | ||
</ | </ | ||
Or if there are multiple commands: | Or if there are multiple commands: | ||
- | < | + | < |
# ((sleep 1; sleep 1 )&) | # ((sleep 1; sleep 1 )&) | ||
</ | </ | ||
scripting/bash.1453123108.txt.gz · Last modified: 2016-01-18 14:18 by root