I could close specified apps like
$ killall "PDF Expert"
$ killall "Google Chrome"
The active processes could be check with command top
How could I kill all the process with codes like
for process in processes; do
killall "$process"
bash
Best Answer
There is a much more powerful command on the shell to kill processes. Have a look at the "pkill" command syntax:
My personal favourite for killing specific processes is
So if I want to kill all processes from the Razer Synapse software, because the update agent sometimes has hung up and the Razer Synapse Tool does not start, I type