User Tools

Site Tools


scripting:bash

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
scripting:bash [2016-01-18 14:18] rootscripting:bash [2016-05-20 17:02] (current) root
Line 7: Line 7:
  
 Example of a command execution: Example of a command execution:
-<code>+<code bash>
 # 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:
-<code>+<code bash>
 # (sleep 1 &) # (sleep 1 &)
 </code> </code>
  
 Or if there are multiple commands: Or if there are multiple commands:
-<code>+<code bash>
 # ((sleep 1; sleep 1 )&) # ((sleep 1; sleep 1 )&)
 </code> </code>
  
  
scripting/bash.1453123108.txt.gz · Last modified: 2016-01-18 14:18 by root