January 24, 2012June 29, 2020 mac command to kill all processes by name ps -ef | grep -v ‘grep’ | grep firefox | awk ‘{ print $2; }’ | xargs kill