inputkill(1)
π NAME π
ok so bestie, gather round β inputkill is literally the icon we needed: it runs a command until standard input is closed. periodt.
β¨ SYNOPSIS β¨
inputkill [options] <command> [arguments ...]
π DESCRIPTION π
okay so here's the whole vibe: inputkill runs a given command until standard input is closed. that's it, that's the girl. π
She passes on all file descriptors except for standard input β so the command is given no standard input at all. not a crumb. π
where this eats: inputkill is useful for promptly exiting a program ran via ssh when the connection is closed. like, truly the main character move. for example, ssh host inputkill sleep 60 runs the command sleep on the computer named host until either sixty seconds elapse or the ssh connection is terminated. slay. π¦
and now the part you actually need to remember, bestie, because this is where people get got: the argument -- disables argument parsing for all proceeding arguments. so:
inputkill ls -lwill pass-ltoinputkilland runlsinputkill -- ls -lwill runls -l
see the difference? iykyk. π
πΈ OPTIONS πΈ
-V,--versionβ display version information. i.e. she tells you who she is. π-?,--helpβ display a summary of command-line options. the lil cheat sheet, no cap. β
π«Ά SEE ALSO π«Ά
inputkill is part of mswatch(1); mswatch website: http://mswatch.sf.net/ π
π AUTHOR π
Written by Chris Frost <chris@frostnet.net>. π
bestie pls note:inputkillis part of themswatchfamily, and yeah β that's<pink>mswatchas inmswatch(1), and the site is literallyhttp://mswatch.sf.net/`. go be nosy. π§
and that's the page!! this whole thing is inputkill(1) from the General Commands Manual, and the footer just signs off with inputkill(1) β no date, no extra credits, just her name in cute little brackets at the bottom of the terminal. iconic behavior, honestly. π β¨π
π¦ where this page comes from
- nixos 26.05: mswatch-unstable 2018-11-21
- nixpkgs unstable: mswatch 1.2.0-unstable-2018-11-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms