Skip to content

GEEKDECODER

Linux, Windows, Software Tips, Articles and Hacks

  • Services
  • Support
  • Contact
  • About
  • Crypto Quotes

Search for Articles

Search for:

Featured Articles

  • How to Remove You do not have a valid subscription for this server on Proxmox version 7.1-8
  • How to Switch Desktop Environments in Ubuntu/Debian From the Command Line
  • NetworkManager
  • Install and Configure fail2ban on Debian 11
  • ApacheSolr vulnerability CVE-2021-44228 for Log4j
  • Install Proxmox VE on Debian 11 Bullseye 3 Node Cluster with Ceph
  • Display Linux logo with hardware Info using screenfetch
  • Install and Setup ClamAV on Debian 11
  • Remove Nginx
  • Install MySQL, Nginx and Zabbix on Debian 11

Categories

Kill processes in Linux

December 26, 2014 The Geek Decoder Leave a comment Administration

Here are several ways to kill all the processes in linux.
Where username is my userid.


# pkill -u username

or


# ps -o pid -u pu | xargs kill -1


# pgrep -u username | sudo xargs kill -9 

Show processes run for a username and sshd


# pgrep -u username sshd

Post navigation

← Joomla protection
Slow Query log →

Copyright 2021 Geekdecoder, LLC. All Rights Reserved.