Killall: Difference between revisions
Appearance
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}} |
||
< |
<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 |
* 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 < |
* 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 < |
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| |
* {{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
This article needs additional citations for verification. (June 2020) |
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
andskill
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