KILL(1)

πŸ“¦ version 1.053, in alpine 3.24

πŸ’… KILL(1) β€” the group-chat edit πŸ’…

okay so bestie, this is the kill page from the User Contributed Perl Documentation β€” the Perl Power Tools one, iykyk. It's literally all about sending signals to a process, and it's lowkey a classic. 🫢

✨ NAME ✨

kill β€” send signals to a process. periodt. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

kill [ -s signalname "PID..." ] [ -signalname "PID..." ] [ -signalnumber
       "PID..." ] [ "PID..." ] [ -l ]

🌸 DESCRIPTION 🌸

okay so kill sends a signal to all PIDS specified on the command line. bestie, this is typically done to cause a process to terminate and/or to reload configuration files, etc. signal handlers are specified per program, so the effects of a received signal may vary β€” no cap. πŸ¦‹

πŸ”₯ OPTIONS AND ARGUMENTS πŸ”₯

  • -s β€” takes one argument, a signal name (peep -l for the list), and sends that signal to the PIDs you named. 🎯
  • -signalname β€” the short little form of -s signalname. same thing, less typing. ✨
  • -signalnumber β€” says "bestie, use this signal number" and sends it to the PID listing you gave. πŸ”’
  • -l β€” shows you a listing of every available signal on the current system. menu behavior. πŸ‘‘

πŸ’œ NOTES πŸ’œ

  • no signal on the command line? SIGTERM gets sent to the specified PIDs. default queen. 🫢
  • kill returns 0 on success or >0 if an error occurred. exit status: tracked. βœ…
  • kill is built-in to csh(1); see csh(1) for details. yes, the csh girlies have their own. πŸ’…
  • only the super-user may send signals to other users' processes. 🚨
bestie, that's a real permission wall β€” the super-user note is not a suggestion. πŸ’€
  • this version of kill does not support -l [signal] since there didn't seem to be any use to the parameter (it didn't work on any platform I tried either.) the author said what they said. 😭
  • signal names may have the SIG prefix. i.e.: kill -HUP and kill -SIGHUP are equivalent. same energy, fr fr. 🌈
  • the signal list kill -l displays in an "extended" form which lists both the signal name and the signal number for easy reference. name AND number? obsessed. πŸŽ€

πŸ¦‹ HISTORY πŸ¦‹

Perl version rewritten for the Perl Power Tools project from the description of the kill program in OpenBSD. slay, open-source lineage. 🌟

πŸ‘‘ AUTHOR πŸ‘‘

Theo Van Dinter (felicity@kluge.net) β€” the icon behind this page. πŸ’–

🌈 SEE ALSO 🌈

mwah πŸ’‹ β€” this cutie is from perl v5.42.2, dated 2026-02-15, and it's filed as KILL(1). now go send a signal, bestie, responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from