Say I want to kill every process containing the word amarok. I can print out the commands I want to execute. But how do I actually make the shell execute them. ie.
try kill -s 9 ps -ef |grep "Nov 11" |grep -v grep | awk '{print $2}' To kill processes of November 11 or kill -s 9 ps -ef |grep amarok|grep -v grep | awk '{print $2}' To kill processes that contain the word amarok
ps -ef |grep "Nov 11" |grep -v grep | awk '{print $2}'
ps -ef |grep amarok|grep -v grep | awk '{print $2}'