Kill process by name with `awk` Jul 1, 2012 $> ps -ef | grep <process_name> | awk '{print $2}' | xargs kill -9