Kill all processes of a certain user with 'slay'

Kill all processes of a certain user with 'slay'

slay is a command line tool written by Chris Ausbrooks to kill all running processes of a specified user. slay is very useful for system administrators to find users who should not be running processes.

s lay has official repositories in most distributions.

Install

Ubuntu and its derivatives

  1. sudo apt - get install slay

Arch Linux and its derivatives

  1. sudo pacman - S slay

Fedora and its derivatives

  1. sudo yum install slay

usage

You should have administrator privileges to use slay.

To kill a specific user's process, you would:

  1. sudo slay <usename>

For example: I want to kill all processes of user amitooo .

  1. ~ sudo slay amitooo
  2. slay : Done .

When slay finishes running, you should see feedback.

Cool, right?!

<<:  How can a designer with no programming knowledge develop an app in 4 months?

>>:  Are you a seventh-stage programmer?

Recommend

Guide to Hot-selling Information Stream Ads

How to make information flow advertising material...

More than just delivering happiness: How does a smile shape our emotions?

Smiling, this seemingly simple facial action, pla...

Silver among silver medals, also a champion

The symbol Ag for silver comes from its Latin nam...

How can I improve video quality? How to make high-quality videos?

Improve video quality in four aspects: picture, t...

If programmers don’t relieve stress, they will become mentally ill!

Being a software programmer is one of the best jo...

Why didn’t Apple make a large-screen iPhone before?

Various news proves that Apple is preparing to put...

Operators, have you built your data analysis framework?

Data analysis, as a core skill that operations pe...

iOS 13.5 Blizzard new jailbreak tool with built-in Zebra Store

When everyone was looking forward to the news of ...

US judge: WeChat ban violates user rights and will not be allowed to be enforced

After a U.S. district court urgently halted the U...