Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

nohup

v(uutils coreutils) 0.8.0
nohup COMMANDE [ARG]...
nohup OPTION

Exécuter COMMANDE en ignorant les signaux de raccrochage.

Options

Si l’entrée standard est un terminal, elle sera remplacée par /dev/null. Si la sortie standard est un terminal, elle sera ajoutée à nohup.out à la place, ou $HOME/nohup.out, si l’ouverture de nohup.out a échoué. Si l’erreur standard est un terminal, elle sera redirigée vers la sortie standard.

Examples

The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.

Run a process that can live beyond the terminal:

nohup {{command}} {{argument1 argument2 ...}}

Launch nohup in background mode:

nohup {{command}} {{argument1 argument2 ...}} &

Run a shell script that can live beyond the terminal:

nohup {{path/to/script.sh}} &

Run a process and write the output to a specific file:

nohup {{command}} {{argument1 argument2 ...}} > {{path/to/output_file}} &

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.