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

Progress bar example ProgressDialog in Android

Progress bar is used to show the progress of a ta...

Stop swallowing pills! These pills can also be chewed

Author: Huang Yanhong Duan Yuechu In daily life, ...

Why doesn't Apple use an "iWatch"?

According to Reuters, Apple Inc. (hereinafter ref...

Aircraft piston engine

Aviation piston engines rely on the reciprocating...

Analysis of AARRR (user growth) model: How to achieve user growth?

This article starts from the experience and expla...

Moles can also become cancerous! Check out if your mole is dangerous →

Everyone has some moles on their body. Most moles...

How to use Zhihu to divert private domain traffic?

In this era of prevalence of self-media and unive...

5 details tips to optimize your APP description!

Many people in the industry think that APP descri...