Link to home
Start Free TrialLog in
Avatar of sivaatluri
sivaatluri

asked on

Bash Script to find & Kill Multiple Process

Can any only help me with Bash Script which can find & kill multiple process without user intervention.

Also it would be good if it can print the killed Process ID's to the screen
Avatar of sivaatluri
sivaatluri

ASKER

FOr Example I have 10 process httpd & 5 process nginx.

I want to grep the PId's of strings httpd , nginx & kill them
SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial