在linux下如何快速关闭多个同名进程

ps -u $USER | grep pidname | grep -v grep | awk '{printf("kill -9 %s\n", $1)}' | sh

你可能感兴趣的:(在linux下如何快速关闭多个同名进程)