mac command to kill all processes by name

ps -ef | grep -v ‘grep’ | grep firefox | awk ‘{ print $2; }’ | xargs kill

Leave a Reply

Your email address will not be published. Required fields are marked *