User Tools

Site Tools


scripting:bash

Bash (Bourne Again SHell)

Quiet Job-Control

Example of a command execution:

# sleep 1
# sleep 1 &
[1] 31358
#
[1]+  Done                    sleep 1

To prevent the whole job control output, execute the task in a subshell:

# (sleep 1 &)

Or if there are multiple commands:

# ((sleep 1; sleep 1 )&)
scripting/bash.txt · Last modified: 2016-05-20 17:02 by root