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 new version of WeChat improves the video function: QQ has a new brother

WeChat has just officially released WeChat 6.3.5 ...

In this park, we don’t plant trees, we let nature plant them.

I believe that all the workers are like me. Repea...

5.20 Programmer: The goddess is waiting for you to hook up

Disheveled, unkempt, wearing a backpack and flip-...

Wandering in the rivers of the Ali Plateau

The beauty of harmony and balance outlined by the...

App monetization methods and advertising monetization pain points!

If an app does not have a good commercial monetiz...

Download Yang Chunhu's Baoding tongue diagnosis recording from Baidu Cloud

Brief introduction of Yang Chunhu's Baoding t...

Event Operation from Entry to Advanced: Program Design

The previous article talked about the preparatory...