nohup

A command that runs another command immune to the hangup signal, so it keeps running after you log out.

In more detail

If output would go to the terminal, nohup redirects it to a file called nohup.out. It is a quick fix, not a supervisor: nothing restarts the process if it crashes. For work that must survive reboots and failures, use a service manager such as systemd.

Example

pid=42 parent=1 stdout=log detached=yes describes a detached process whose output goes to a log.

Related terms

Taught in

References

Certification courses