Linux allows a program to continue running after exiting the login?
We can use the Nohup command and the disown command.
Nohup command
Usage: nohup command [parameters] ... Or: Nohup option Ignores the suspend signal to run the specified command.
&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; --HELP displays this help information and exits --version display version information and exit
If the standard input is a terminal, redirect from Dev. If the standard output is a terminal, add the output to "nohup.out" whenever possible, otherwise add to "$HOME/nohup.out". If the standard error output is a terminal, redirect it to the standard output. To save the output to a file, use the commands in the form nohup command > file.
Note: Your shell contains its own version of the Nohup program, which overwrites the corresponding version mentioned here. Consult your shell documentation for the options it supports.
The steps to keep a program running after exiting the login are as follows:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.