Questions tagged [killall]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
74 views

Apps installed via Snap Store does not launch(Ubuntu 22.04)

I have a problem with the Ubuntu 22.04.1 snap store. In fact, every time I install an application using snap store, I can't use it, i.e. whenever I want to launch the application that I have installed,...
0 votes
0 answers
542 views

killall snap-store killed my snap store entirely [Ubuntu 20.04]

after following the same advice as here I entered killall snap-store. Few weeks ago this perfectly fixed the problem but now I am getting this error: translation of last statement in error-message: ...
1 vote
1 answer
218 views

Can't Kill VLC until Restart

Sometimes, after I play some videos with VLC Media Player, it stops working and I can't use it or kill it. The icon still appears in the system tray. When I click it and press "Quit," ...
0 votes
0 answers
469 views

Kill this clamd process running from another user which I never know about

From HTOP Hi, there is a clamd process running from a user called "tcpdump" I google and found that it's not quite a real user, so I remove that user. However, this process still running and ...
9 votes
4 answers
14k views

Stop an application in bash after a certain amount of time [duplicate]

I am interested in running a bash script which starts an application (in this case VLC), run it for a certain amount of time and then stop it. I can get this application to start just fine, but it ...
  • 223
0 votes
1 answer
367 views

closing processes using /home in order to move /home to new drive

I'm moving my /home from one drive to another new drive. I'm doing it from tty3 as root. I've used sudo mv '/home' '/old_home' but it says device or resource busy. I've tried to kill the process ...
  • 1
1 vote
1 answer
1k views

How to kill all processes younger than

I know for killall command with -y argument and process name. But I need command to kill all processes younger than some time, without knowing their names. Something like: killall -y 20m *
  • 31
1 vote
0 answers
313 views

Dragging windows to the edge of the screen doesn't snap to that half

It also doesn't go fullscreen when I take it to the top edge of the screen. Is there any process I can try killing before I try restarting my machine? I already tried killall nautilus.
0 votes
1 answer
832 views

Firefox doesn‘t start, because there‘s already a firefox process running

I‘m trying to launch firefox and it tells me, there‘d already be a firefox process running. I tried listing the processes using ps -A, but there is no firefox process listed. I also tried killall -9 ...
  • 177
1 vote
1 answer
2k views

Not able to kill a jackdbus

I was trying to install jackd and the installation with apt gave two commands: jackd and jackdbus. I tried to execute jackdbus and it ran in the console. When I tried to terminate it by Ctrl+C, it is ...
  • 15
1 vote
1 answer
707 views

Looking to use kill -9 instead of killall

Looking to use kill -9 instead of killall using process name. Is there a way I can grep or awk the pid of a given process name/s then kill it will kill -9 ? killall fails a lot for me. I'm looking ...
1 vote
1 answer
1k views

Terminate GNU Parallel in Screen Session letting jobs finish

I'm running a GNU Parallel command on a screen session. Unfortunately, I did not put an "&" at the end of the command to push it to the background. Hence I do not have access to the command line ...
  • 235
1 vote
1 answer
2k views

Can't kill jackdbus auto, because it auto starts everytime

(edit) Topic closed: It wasn't a problem with jackdbus auto. In this thread I accidentally found a hint that, without me noticing, the server name changed itself from "(default)" to "voreingestellt" (,...
3 votes
2 answers
2k views

Kick off all other users who are logged in?

I know if I type w I can get a list of all logged in users. I also know that killall -u USERNAME kicks all processes associated with the user USERNAME (including bash / their shell, their sshd ...
  • 822
2 votes
1 answer
2k views

Kill shutdown/poweroff command

What command does the system execute when "shut down the system" is pressed? Is it possible to kill that process with root?
  • 99
0 votes
1 answer
1k views

Can't kill processes of a user

One of the users of our server managed to hang his xRDP connection somehow. Now he can't connect any longer. Each time he tries to connect, he gets a blank black screen. I figured this is due to some ...
11 votes
1 answer
46k views

Killall node not killing node process

I have the following output via ps aux | grep node: karlm 17551 1.4 0.7 1000592 93604 pts/2 Sl 09:54 0:01 node -r babel-register -r babel-polyfill src/index.js --config=c.json I try to ...
0 votes
1 answer
566 views

How to stop all "play" commands currently running in other shells? [duplicate]

I have a script that invokes the play command when I press f10. I would like to edit that script so if I press it while an audio file is playing, then it kills that first before playing the next file. ...
  • 11.4k
1 vote
1 answer
2k views

How to use system command in a perl script with sudo?

I would like to use this in my perl script: sudo killall -HUP tor would this work?: system echo sudo killall -HUP tor Also how would I get around having to authenticate when running the script/...
8 votes
1 answer
13k views

Killing Netbeans

Sometimes I have hanged NetBeans on my Ubuntu system. How to kill it? aux |grep [n]etbeans gives too much id's in order to find correct one. killall java kills other java applications, but not ...
  • 4,127
3 votes
0 answers
379 views

temporarily stop Firefox to prevent battery drain

Firefox drains my batteries (bad habit of the lazybone), so I would like to STOP it for a while and then resume it again. I tried killall but without much success: $ ps h kpcpu -eo pcpu,comm | tail -...
1 vote
1 answer
260 views

Ubuntu won't boot after I used the command Killall -u

I was downloading an apk and it told me I had to kill a process. I saw some posts on the kill command an thought I could kill the process like a pro, so I typed the following command: kill all -u TAL ...
  • 97
0 votes
2 answers
7k views

I can't stop or kill a daemon process whatever I do. It's been days now

That is normally great thing right? But I need to update. I've started it with python openbazaard.py start -da 0.0.0.0 As a result, nothing from the below tried can stop it: sudo python openbazaard....
  • 1
0 votes
3 answers
5k 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 ...
1 vote
1 answer
243 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 ...
1 vote
1 answer
479 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 ...
2 votes
1 answer
359 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 ...
18 votes
3 answers
3k 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 processes ...
52 votes
5 answers
270k views

How can I see background process in Ubuntu? And kill unnecessary processes?

In Windows by using Task Manager we can see how many .exe files are running. Also in command prompt we use tasklist command to see processes. In ubuntu how can I see all processes and kill unwanted ...
  • 2,829
2 votes
1 answer
958 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,807
3 votes
2 answers
869 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; ...
  • 646
2 votes
1 answer
868 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 an ...
  • 666
24 votes
3 answers
31k 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 ...
  • 4,827