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

Long Text Decryption Convolutional Neural Network Architecture

introduction Let me be honest here. For a while, ...

Why can’t China’s science and technology community produce a Dr. Mo?

Those who don't know Dr. Mossberg is still co...

Apple launches new iPod Touch: starting at 1,495 yuan, is it worth buying?

On July 15, Apple's online store showed that ...

Xiaomi Surge S1 processor performance test: Can it beat Snapdragon 625?

On February 18, Xiaomi officially launched the SoC...

Hejun "Zeng Qiao's Capital Observation" Season 5

Supported by a 30-person research team, each sess...

Winter mood "collapse"? Don't panic, these tips will help you see the sun again!

Every winter, many people often feel as if their ...