re: Killing many procs at one time VIEW POST

FULL DISCUSSION
 

I would add something like:

if [ -z $1 ]
then
 echo "You must pass the process name as a parameter"
 exit 1
fi
 

Yeah, thanks for the another good advice!
You know checking whether the name exists is a good way not to have any issues with tools like kill.

code of conduct - report abuse