Log in Go to the main page Page History Go to the file list Go to the site toolbox

Killall command

From NetworkStuff

Utilities-terminal-v2-256.png

Linux-logo-large.png

A CLI command available on Linux platforms; used to kill (or end) one or more processes specified by command name, user name or regular expression.

Contents

Preferences-desktop-font-v2-22.png Usage Syntax

kill [options] (command_name | reg_exp | user_name)

Common options include;

  • -I - ignore command_name case, case insensitive matching
  • -i - interactive mode, requires confirmation before killing processes
  • -q - quite mode
  • -r reg_exp - kill processes matching the following extended regular expression
  • -u user_name - kill processes the specified user owns
  • -v - verbose output

Vm-power-on-medium.png Usage Examples

killall firefox - kill all processes running the firefox command

killall -I FireFox - kill all processes running the firefox command, ignoring character case

killall -Iiv FireFox- kill all processes running the firefox command, ignoring character case; require confirmation before doing so and provide verbose output

Utilities-terminal-medium-v2.png Typical Output

[test@nstuffbox ~]$ killall -ivu sshd
Kill sshd(32255) ? (y/N) y

Folder-medium.png Related Files

The killall executable is normally found here: /usr/bin/killall

Icemon-medium.png Related Commands

Use the kill command to kill individual processes based on Process IDentifier (PID.) Use the ps command to find the PID of a process.

Object-flip-vertical-medium.png Command Alternatives

The pkill command provides equivalent functions.

Icemon-medium.png Related Articles

Information on other Linux commands Linux-logo-small.png

Information on Cisco commands Cisco-logo-small.png

Information on Vyatta commands Vyatta-logo-small.png

Information on Extreme commands Extreme-logo-small.png

Information on F5 BigIP commands F5-logo-small.png

Information on Zebra commands

Information on Secure Platform commands

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to steve#networkstuff.eu (replacing the # with an @)


F5 BigIP Commands

Personal tools
This page was last modified on 14 June 2010, at 08:26. - Disclaimers - About Network Stuff
Powered by MediaWiki