0

How to find and kill process in single command

hello mate..,

to find and kill the running process means as usual we use commands like kill, netstat, ps etc.., my question i need to find and kill running process in single command... it is possible....?

Kill, Pkill and Killall Add a comment
niklaus
asked Sep 08 2017

Answer

0

yeah.., it is possible by using fuser command... try running below fuser command for your solution.. for example am going kill apache service...

fuser -i -k 80/tcp

I --> Ask the user for confirmation before killing a process...

k --> Kill processes accessing the file...

Add a comment
arunkumarak
asked Sep 09 2017
edited Oct 05 2018
Post your Answer