inputkill(1)

πŸ“¦ version 2018-11, in nixos 26.05, nixpkgs unstable

πŸ’… 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 -l will pass -l to inputkill and run ls
  • inputkill -- ls -l will run ls -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: inputkill is part of the mswatch family, and yeah β€” that's <pink>mswatchas inmswatch(1), and the site is literally http://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