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

How to close a running script in linux

藏色散人
Release: 2019-11-13 09:38:56
Original
7393 people have browsed it

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
Copy after login

2, kill the process according to the process ID;

kill -9 24853
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template