Home >Operation and Maintenance >Linux Operation and Maintenance >How to close a running script in linux

How to close a running script in linux

藏色散人
藏色散人Original
2019-11-13 09:38:567414browse

How to close a running script in linux

How to close a running script in Linux?

After we run the script in Linux, if we want to stop the script, it is not as convenient as in windosw. I summarize the method as follows:

1, search for the script according to the script name The executed process;

ps -ef|grep GenerateMonitorCompanyFinance

2, kill the process according to the process ID;

kill -9 24853

Recommended: "Linux Tutorial"

The above is the detailed content of How to close a running script in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn