Skip to content

Instantly share code, notes, and snippets.

@simonliu009
Last active August 26, 2019 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonliu009/a60019f3fce4348ae1bbd7c9c6de4c17 to your computer and use it in GitHub Desktop.
Save simonliu009/a60019f3fce4348ae1bbd7c9c6de4c17 to your computer and use it in GitHub Desktop.
[linux 杀死进程] #linux
ps -ef|grep 程序名 | awk '{print $2}' | xargs kill -9
ps -ef|grep server.py | awk '{print $2}' | xargs kill -9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment