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 to use a little creativity to create a hit product?

Details determine success or failure. Do you agre...

List of 7 essential promotion skills for operators!

Promotional methods + operational knowledge = imp...

Analysis of Douyin vs. Weishi Competitive Products

This article conducts a multi-dimensional analysi...

A must-read for marketers! The underlying logic of hot products

What is a hot product? This is a good question an...

The three Internet marketing crazes I experienced!

As someone who makes a living from management, in...

What kind of river is the Tarim River? Learn more in this article →

“Tarim River, the river of my hometown, how many ...

7 successful startups teach you how to use social media for marketing!

Written by: Sujan Patel With over 12 years of dig...

Unmanned retail stores look great, but the so-called low cost is not true?

Unmanned convenience stores in Shanghai, Hangzhou...

The real mask of fake "upturned buttocks" - pelvic tilt (Part 2)

In the last issue, we shared how to judge pelvic ...