nohup

Runs a command that keeps running after you log out

nohup command line

The nohup utility executes a command line so that the command keeps running after you log out. Normally when you log out, the system kills all processes you have started. The TC Shell has a nohup builtin. Refer to “Notes.”

Arguments

The command line is the command line you want to execute.

Notes

The nohup utility automatically lowers the priority of the command it executes by 5. See nice (page 1263) for information about priorities.

If you do not redirect the output from a process that you execute with nohup, both standard output and standard error are sent to the file named nohup.out in the working directory. If you do not have write permission for the working directory, ...

Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.