@ 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
The Linux terminal closes the background process and ends the Cause Analysis and nohup usage. The background process nohup
Windows and Linux Remote connections (both called remote connections) are different:
1) after Windows Remote connection, if
The php daemon and the linux command nohup are used to execute the task once per second. In Unix, the nohup command function means to run the command without hanging up, while nohup puts all the output of the program to the current directory nohup.
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
With this command, we will write shell scripts in php and use loops to keep our scripts running. No matter whether the terminal window is closed or not, we can keep running php scripts. In Unix, The nohup command function means to run the command
Unix/linux generally want to let a program run in the background, many use & at the end of the program to let the program run automatically. our own program is only a normal program, generally this program even use & end, if the terminal is closed,
With this command, we will write shell scripts in php and use loops to keep our scripts running. No matter whether the terminal window is closed or not, we can keep running php scripts.
With this command, we will write shell scripts in php and use
With this command, we will write shell scripts in php and use loops to keep our scripts running. no matter whether the terminal window is closed or not, we can keep running php scripts. In Unix, the nohup command function means to run the command
Cause Analysis and nohup usage for disabling background processes on Linux terminal
Windows and Linux Remote connections (both called remote connections) are different:
1) after Windows Remote connection, if you run a program on a remote machine,
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.