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

The methodology for launching hot-selling products on Douyin!

In July, a super skin care product quickly became...

5 analyses of B station’s marketing!

In 2020, Bilibili has successfully "broken o...

Question: What color are blueberries? Few people know the truth!

Color is a language of plants. Through colors, we...

Learning to get more traffic is one of the tricks that operators must use!

Riding on traffic is one of the three must-have t...

Will the issue of borderless mobile phones have an answer on May 6th?

Perhaps domestic mobile phone brands really feel ...

How to earn 2 million in 7 days through social media marketing?

Let me share with you some of my practical commun...

How much does it cost to develop an electrician mini program in the Heze market?

How much does it cost to develop an electrician m...

Android source code, excellent pedometer

Source code introduction: Excellent pedometer sou...