Goku Coding Experience
Thursday, 16 July 2020
How to kill all process by command name in Ubuntu?
ps aux
|
grep python
|
grep
-
v
"grep python demo.py"
|
awk
'{print $2}'
|
xargs kill
-
9
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment