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....?

Tags: Kill, Pkill and Killall
user image Author :   niklaus

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...

user image
arunkumarak September 10, 2017
Add comment