cnmoro
11/6/2019 - 6:09 PM

Linux kill process by name

Linux kill process by name

ps -ef | grep your_process_name | grep -v grep | awk '{print $2}' | xargs kill