Page 1 of 1

Shell – (killall) How to kill multiple tasks with the same name

Shell – (killall) How to kill multiple tasks with the same name

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
Examples: "MacOS X - Your question", "MS Word - Your Tip or Trick".

Please note that switching to another language when reading a post will not work!
Posts will not have a translated counterpart.




RSS Feed

Home Forums Software Linux Software Shell – (killall) How to kill multiple tasks with the same name

This topic contains 0 replies, has 1 voice, and was last updated by  hans 5 years, 11 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • 1764

    hans
    Keymaster

    Killing processes with the same name in a shell can be done relatively easy under Linux:

    killall name

    Which will kill all processes with the name “name”.
    This will only kill processed you own (ie. owned by the user you used to login).
    To kill ALL processes, even the ones you do no own:

    sudo killal -9 name

    Where you login as super user (sudo), for the execute of the statement killall.

Viewing 1 post (of 1 total)



You must be logged in to reply to this topic.