nohup Linux Commands

What is Linux nohup Command?


nohup COMMAND:

Linux has the ability to run a job in background using commands such as &, bg. The job would be killed when the root user logs out. In order to avoid this, nohup command is used.


nohup Command &


-a Always changes the signal disposition of target processes.
-F Force. Grabs the target processes even if another process has control.
-p Operates on a list of process groups.
--help display this help and exit.
--version output version information and exit.


  1. nohup find -name '*' -size +1000k > log.txt
  2. In the above example, the command is used to find the files with the size greater than 1000K, with no hang up, and place it in the log.txt file.

Ask Questions

Ask Question