killall - sends a signal to all processes running any of the specified commands.

learn more… | top users | synonyms

16
votes
3answers
2k views

Kinder / gentler / subtler equivalent alternative to killall (e.g. “endall”)?

How do I end all processes with the same name in a more gentle way than killall does? I don't want to interrupt the processes, but leave them time to properly quit. See also: How do I kill ...
6
votes
3answers
22k views

how can I see background process in Ubuntu? And kill unnessary processes?

In windiws by using Task manager we can see how many .exe files are runing. Also in command prompt we use tasklist command to see processes. In ubuntu how can I see all processes? and kill unwanted ...
4
votes
2answers
8k views

killall doesn't kill all and rarely kills, what is the command for then?

I occasionally use the killall command to kill processes. The reason why I say ocassionally is that in some cases it hasn't worked for me. A recent example was with thunderbird where there were about ...
3
votes
2answers
378 views

starting and killing evince process in a loop

I have certain PDF files. I want to inspect each of them for 20 seconds. The way I was trying to do that is like following: for file in *.pdf; do echo $file; evince $file; sleep 20s; killall evince; ...
2
votes
1answer
299 views

Is sudo killall -u lightdm safe?

I realized that my server has many processes runned by lightdm: Can i killall processes from lightdm? Is sudo killall -u lightdm safe?
2
votes
1answer
75 views

Why does killall (sometimes?) needs to be applied twice?

Why does killall (sometimes?) need to be applied twice? Here's an example where a "double" killall is needed to end the process. When and why does a process needed to be killed "twice"? What happens ...
2
votes
1answer
568 views

Change Gsetting with script on Logout

System : Ubuntu Raring Ringtail (13.04) from fresh installation. Purpose : Main : Change gsetting (desktop wallpaper) with script on user logout. What's I've Done : (carefully read) I try to stop ...
1
vote
1answer
92 views

How can I make sure a program is killed when VPN is running?

There is a program that I need to not have running whenever my VPN is running. I don't want to resort to closing it manually every time, because I might forget sometime. I would like to guarantee ...
1
vote
1answer
21 views

Reversing the effect of killall -u username

In my action to change my admin username to a new username I used the command: sudo killall -u oldname which logged me out of my admin account, and wiped the processes out. I have been unable to ...
0
votes
0answers
21 views

Creating a general shortcut to kill any application running [duplicate]

I'm trying to make a keyboard shortcut that can close any running application. I started here, but this only works for a specified application. Is there any way i can make this work regardless of ...
0
votes
3answers
97 views

Kill all processes linked to a port

Kill all processes on port 3000. This is what is tried: ubuntu@111:~/chatapp$ sudo netstat -peanut|grep 3000 tcp6 0 0 :::3000 :::* LISTEN 0 ...
0
votes
0answers
8 views

Im Trying to Block an application(without sudo access)

I'm trying to block a application but it only runs once after I have ran it then doesn’t work. can anyone suggest a way I can run it every 10 seconds here is my code: if pgrep "firefox" > /dev/...