User Tools

Site Tools


scripting:bash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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