However, by just doing the above, the backgrounded command will suspend if it needs to write to either device 1 or device 2 (STDOUT/STDERR in perl parlance), or read from device 0 (STDIN), so command is usually rewritten as command >file 2>&1 & to send all output from stdout and stderr to file.
If you don't care about output from either stdout or stderr, the frequently seen idiom - command >/dev/null 2>&1 & - is used.
In reply to Re^5: Execute by order
by Bloodnok
in thread Execute by order
by way
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |