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

How can products be promoted effectively?

Many people write brilliant copy and make beautif...

Why is Mount Everest still growing taller?

Mountains are an important geomorphic unit on Ear...

Report! You can wear short sleeves in the Arctic

Is there a feeling? In recent years, the winters ...

Why do roosters crow in the morning?

"The lights are on at midnight and the cocks...

How to promote videos on Station B? How to promote videos on Station B

I believe many people know about Bilibili, especi...

WeChat group fission, how to achieve 30,000+ users in 1 day?

“The second half of the Internet ” has been popul...

Have you ever seen a supermoon that can cause an earthquake?

The supermoon appeared in the night sky on the ev...

User system construction: analysis of user grouping methodology!

During this period, Tik Tok has become popular an...

6 tips for attracting new customers in 2020!

During the epidemic, affected by the epidemic, ma...

The most powerful growth method for user retention

What is a behavioral model? In fact, it is a habi...