Jump to content

Killall: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Undid revision 932312938 by 2603:3001:3501:9700:CD92:B4D6:38D0:1EED (talk)
Correction of unnecessary wording.
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Short description|Command line utility}}
{{More citations needed|date=June 2020}}
{{lowercase|title=killall}}
{{lowercase|title=killall}}
<tt>'''killall'''</tt> is a [[command-line interface|command line]] utility available on [[Unix-like]] systems. There are two very different implementations.
<code>'''killall'''</code> is a [[command-line interface|command line]] utility available on [[Unix-like]] systems. There are two very different implementations.


* The implementation supplied with genuine [[UNIX System V]] (including [[Solaris (operating system)|Solaris]]) and with the [[Linux]] sysvinit tools kills '''all''' processes that the user is able to kill, effectively shutting down the system if run by root.
* The implementation supplied with genuine [[UNIX System V]] (including [[Solaris (operating system)|Solaris]]) and [[Linux]] sysvinit tools kills '''all''' processes that the user is able to kill, potentially shutting down the system if run by root.
* The implementation supplied with the [[FreeBSD]] (including [[Mac OS X]]) and [[Linux]] psmisc tools is similar to the <tt>[[pkill]]</tt> and <tt>skill</tt> commands, killing only the processes specified on the command line.
* The implementation supplied with the [[FreeBSD]] (including [[Mac OS X]]) and [[Linux]] psmisc tools is similar to the <code>[[pkill]]</code> and <code>skill</code> commands, killing only the processes specified on the command line.


Both commands operate by sending a [[Unix signal|signal]], like the <tt>[[Kill (command)|kill]]</tt> program.
Both commands operate by sending a [[Unix signal|signal]], like the <code>[[Kill (command)|kill]]</code> program.

==Example usage==
Kill all processes named xmms:
<syntaxhighlight lang="bash">
killall xmms
</syntaxhighlight>


==See also==
==See also==
Line 11: Line 19:
* [[List of Unix commands]]
* [[List of Unix commands]]
* [[Signal (computing)]]
* [[Signal (computing)]]
* [[pidof]]


==External links==
==External links==
* {{man|1m|killall|Solaris}}
* {{man|8|killall|Solaris}}
* {{man|1|killall|die.net|kill processes by name}}
* {{man|1|killall|die.net|kill processes by name}}
* {{man|1|killall|FreeBSD}}
* {{man|1|killall|FreeBSD}}

Latest revision as of 12:01, 15 May 2024

killall is a command line utility available on Unix-like systems. There are two very different implementations.

  • The implementation supplied with genuine UNIX System V (including Solaris) and Linux sysvinit tools kills all processes that the user is able to kill, potentially shutting down the system if run by root.
  • The implementation supplied with the FreeBSD (including Mac OS X) and Linux psmisc tools is similar to the pkill and skill commands, killing only the processes specified on the command line.

Both commands operate by sending a signal, like the kill program.

Example usage

[edit]

Kill all processes named xmms:

killall xmms

See also

[edit]
[edit]