I have a process with the name bla, and I want to kill it by its name.
When I run ps aux | grep "bla", I get 2 entries:
- process
blaand blablablab
How do I filter it out?
feedback
|
This question came from our site for professional and enthusiast programmers.
|
Take a look at pkill, if available. | |||||||
feedback
|
|
You can use the PID of the process to kill it. Check out man pages for command kill. The exact option would be | |||||
feedback
|