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

In late autumn, if you want to "rest", you must know these →

Recently, many places in Beijing, which has enter...

Don't buy this kind of bird! Someone has been caught

The mynah bird, which can imitate a variety of me...

How can an APP quickly build a push operation system?

The Internet population dividend has completely b...

How to write good copy? (I)

The author of this article will combine relevant ...

From Silicon Valley to BAT, how do talents flow and influence these companies?

[[156150]] This article started with a small gath...

Don’t stick with one programming language for life

[[222139]] One of the key decisions we programmer...

TLAttributedLabel Image and text mashup

Source code introduction: TLAttributedLabel image...

iOS source code download: ActionSheet effect imitating QQ Music

Functional classification: Special effects Suppor...

How to optimize advertising creatives?

“It is as important to have a teacher as it is to...

3 aspects to analyze the art of channel operation

In the Internet environment, it is said that traf...