In Unix/Linux applications, we generally want to run a program in the background, so we usually use & at the end of the program to make the program run automatically. For example, we want to run mysql in the
@ 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
When the nohup command is used to apply Unix/Linux, we generally want to run a program in the background, so we will usually use & amp; to automatically run the program at the end of the program. For example, we want to run mysql in the
@ 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
In Unix/Linux
Program Running in the background, many of them use & to make the program run automatically at the end of the program. For example, to run MySql in the background:
/Usr/local/MySQL/bin/mysqld_safe -- user = MySQL &
However, many
In Unix/Linux, you generally want to run a program in the background. Many of them use & at the end of the program to run the program automatically. For example, to run MySql in the background:
/Usr/local/MySQL/bin/mysqld_safe-user = MySQL &
However,
When the nohup command is used to apply Unix/Linux, we generally want to run a program in the background, so we will usually use & to make the program run automatically at the end of the program. For example, we want to run mysql in the
You may encounter a nohup command problem. Here we will introduce the solution to the nohup command problem. Linux itself is the core part of the operating system, that is, the kernel of the operating system. The kernel is the most basic program for
Use nohup to keep the program running in the background forever
Because I purchased a foreign host with the Telnet permission, I also used telnet to log on to Linux, but I found that the window was automatically disconnected from the host once it
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
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.