User Tools

Site Tools


scripting:bash

This is an old revision of the document!


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.1453123108.txt.gz · Last modified: 2016-01-18 14:18 by root