
nohup is a command to ignore the HUP (hangup) signal, enabling the command to keep running after the user who issues the command has logged out. nohup is most often used to run commands in the background as daemons.
1. Execute the command.
nohup the-command-you-want-to-execute &
Additional note:
• nohup – command to prevent the command interruption.
• the-command-you-want-to-execute – the command you want to run.
• & – Execute the process to run in the background.
2. Output from the command will generate into a file called nohup.out in the current working directory. You can display the output file by:
tail nohup.out