I am using RHEL 6.4
In Unix based OS's, you perform something like
ps -ef | grep appname
This command returns a PID, from which you perform something like
kill -9 9999
This is simple enough, but sometimes I am in a hurry,
Is there a command or a script that can ferform something like
without the necessary PID lookup, turning it into a single command instead of two ?