@ Wooyun ssh connects to Linux. if you want to disable the connection, you can run the nohup command nohup/opt/phpfpm/bin/phphotel to run a program in the background. php & amp; appendingoutputtonohup appears. you can view the process pid in ps-ef
@ Wooyun ssh connects to Linux. If you want to disable the connection, you can use the nohup command to run a program in the background.Nohup/opt/phpfpm/bin/php hotel. php &Appending output to nohup. out is correct.You can run ps-ef to view the
When applying unix/linux, we usually want to let a program run in the background, so we will often use & at the end of the program to let the program run automatically. For example we want to run MySQL in the
Original: http://blog.csdn.net/lovemdx/article/details/20529563
SIGHUP
Nohup
Running in the background
Daemon
Today and colleagues talk about this problem, I looked up the relevant information, the total is as
Nohup commandPurpose: To run the command without hanging off. If you are executing a job and you want to continue running after exiting the account/shutting down the terminal, you can use the Nohup command. Nohup is the meaning of not hanging (no
If you want to start
Program To continue running, use nohup. However, if you want to activate SSH the next day, you can check the status of the program running yesterday and continue working. nohup will not work at this time and you need to use
We often need to start a long-running program in development, we need to close the SSH connection, and still keep the program running, for this we need to use the Nohup command. Of course, you can also use the screen command, I have introduced in
Several ways to keep processes running reliably in the backgroundA few years ago in the developerworks above to see the article, feel very practical, and simple to organize a bit, go here, hope to see people bring some help. The Nohup and Subshell
problem Description: when SSH connects remotely to the server and then runs a service./catalina.sh start, and then the terminal opened and closed (disconnected SSH connection), found that the service is interrupted, resulting in the Web page is
The currently running process remains after SSH is closedFor a variety of reasons, you need to login to the Linux or Unix host via SSH, many times we need to start some services via SSH terminal or run some programs, but by default, when we close
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.