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:
How do I filter it out?
You can use the PID of the process to kill it.
Check out man pages for command kill.
The exact option would be
While the killing question has been well answered, you asked how can you avoid getting the process "blabla" when you wanted "bla". What you want to do is add -w: