timeout(1)

πŸ“¦
version 0.7.0 Β· 2 versions
, in epel 10, fedora 43, fedora 44

πŸ’– timeout β€” the manual page, but make it make sense πŸ’–

okay bestie, you know that one command in the uutils coreutils set that's like "run this thing, but if it's still being dramatic after a while, we're ending it"? yeah. that's timeout. she's the group-chat admin of processes and honestly? iconic. let's get into it 🫢


✨ NAME ✨

timeout β€” start COMMAND, and kill it if it's still running after DURATION. no cap, that's the whole job. she gives COMMAND a deadline and she MEANS it πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

timeout [-f|--foreground] [-k|--kill-after] [-p|--preserve-status]
[-s|--signal] [-v|--verbose] [-h|--help] [-V|--version] <duration>
<command>

like… look at her. she's got options. she's got range. she's got <duration> and <command> and a whole lot of attitude ✨


🌸 DESCRIPTION 🌸

Start COMMAND, and kill it if it's still running after DURATION.

that's it. that's the vibe. you hand her a command, you hand her a time limit, and if that command is still going when the clock runs out, she ends it. no hesitation. main character energy fr fr πŸ‘‘


πŸ¦‹ OPTIONS πŸ¦‹

  • -f, --foreground β€” when you're not running timeout directly from a shell prompt, this lets COMMAND read from the TTY and get TTY signals. heads up though: in this mode, children of COMMAND will not be timed out. so like, the babies are safe, only the parent gets the timer πŸ₯²
  • -k, --kill-after β€” also send a KILL signal if COMMAND is still running this long after the initial signal was sent. basically the "okay I asked nicely, now I'm not asking" option 😭
  • -p, --preserve-status β€” exit with the same status as COMMAND, even when the command times out. so you get COMMAND's actual vibe as your exit code, not the timeout one πŸ’–
  • -s, --signal <SIGNAL> β€” specify the signal to be sent on timeout. SIGNAL can be a name like 'HUP' or a number. see kill -l for a list of signals πŸ“‹
  • -v, --verbose β€” diagnose to stderr any signal sent upon timeout. she'll tell you exactly what she did and why. transparent queen ✨
  • -h, --help β€” Print help πŸ™‹
  • -V, --version β€” Print version 🏷️
  • <duration> β€” a floating point number with an optional suffix: 's' for seconds (the default), 'm' for minutes, 'h' for hours or 'd' for days ; a duration of 0 disables the associated timeout. yes bestie, 0 means the timer is OFF, she's just gonna stand there πŸ•°οΈ
  • <command> β€” a command to execute with optional arguments. this is the thing getting timed out, so choose wisely 🌈

πŸ’€ EXTRA πŸ’€

Upon timeout, send the TERM signal to COMMAND, if no other SIGNAL specified. The TERM signal kills any process that does not block or catch that signal. It may be necessary to use the KILL signal, since this signal can't be caught.

so like, TERM is the polite ask. some processes be catching it and ignoring it (rude). KILL can't be caught by anyone. that's the nuclear option and she will use it πŸ’…

Exit status:

  • 124 β€” if COMMAND times out, and --preserve-status is not specified
  • 125 β€” if the timeout command itself fails
  • 126 β€” if COMMAND is found but cannot be invoked
  • 127 β€” if COMMAND cannot be found
  • 137 β€” if COMMAND (or timeout itself) is sent the KILL (9) signal (128+9)
  • - β€” the exit status of COMMAND otherwise

⭐ VERSION ⭐

v(uutils coreutils) 0.7.0

and that's the whole page, bestie. timeout (uutils coreutils) 0.7.0, straight from the General Commands Manual to your group chat πŸ’– go forth and time things out responsibly. iykyk πŸ§šβ€β™€οΈπŸŒΈ

πŸ“¦ where this page comes from
  • epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
  • epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
  • fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
  • fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms