nohup (no hangup)Overview
- prefixing a command with nohup prevents the command from being aborted automatically when you log out or exit the shell.- & The "&" symbol at the end of the command instructs bash to run nohup mycommand in the background.
- If standard input is a terminal, so, terminal input is not possible when running a command with nohup.
====================================================
Usage
- nohup mycommand- nohup mycommand &
- nohup /path/to/command-name arg1 arg2 &
====================================================
No comments:
Post a Comment