O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required