TIMEOUT(1)
โจ TIMEOUT(1) โ like, the manual page, bestie โจ
okay so this is timeout from the GNU coreutils squad, and honestly? she's an icon ๐
๐ NAME ๐
timeout โ run a command with a time limit, girl. you give her a deadline and she enforces it ๐๐
๐ SYNOPSIS ๐
timeout [OPTION]... DURATION COMMAND [ARG]...
๐ธ DESCRIPTION ๐ธ
So the vibe is: start COMMAND, and if it's still running after DURATION, kill it. That's it. That's the whole personality ๐ญ๐ฅ
mandatory arguments to long options are mandatory for short options too โ no skipping, bestie ๐
Here are all the flags, no gatekeeping:
-f,--foregroundโ for when you're not runningtimeoutstraight from a shell prompt: this letsCOMMANDread from the TTY and get TTY signals. in this mode tho, the children ofCOMMANDwill not be timed out. iykyk ๐ซถ-k,--kill-after=DURATIONโ also sends aKILLsignal ifCOMMANDis still running this long after that first signal got sent. double tap, periodt ๐-p,--preserve-statusโ exit with the same status asCOMMAND, even when the command times out. she's loyal like that ๐ฅบ-s,--signal=SIGNALโ pick which signal gets sent on timeout.SIGNALcan be a name like'HUP'or just a number. seekill -lfor the full list of signals ๐-v,--verboseโ diagnose to standard error any signal sent upon timeout. so she'll actually tell you what she did โจ--helpโ display this help and exit ๐--versionโ output version information and exit ๐
okay so about DURATION: it's a floating point number with an optional suffix โ
's'for seconds (this is the default, no cap)'m'for minutes'h'for hours'd'for days
and a duration of 0 disables the associated timeout. zero means "live your life, i'm not timing you" ๐ฆ
Upon timeout, timeout sends the TERM signal to COMMAND, unless you specified some other SIGNAL. The TERM signal kills any process that does not block or catch that signal. Sometimes you gotta bring out the KILL signal instead, because that one literally can't be caught. it's giving unstoppable ๐
๐ช Exit status: ๐ช
124โ ifCOMMANDtimes out, and--preserve-statusis not specified125โ if thetimeoutcommand itself fails (not her fault, ok? ๐ญ)126โ ifCOMMANDis found but cannot be invoked127โ ifCOMMANDcannot be found137โ ifCOMMAND(ortimeoutitself) is sent theKILL(9) signal (that's 128+9, math girlies rise ๐งฎโจ)-โ the exit status ofCOMMANDotherwise
๐ BUGS ๐
Some platforms don't currently support timeouts beyond the year 2038. so like... future problems, bestie ๐
๐ซถ AUTHOR ๐ซถ
Written by Padraig Brady. king behavior ๐
๐ญ REPORTING BUGS ๐ญ
- Report bugs to:
bug-coreutils@gnu.org - GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
- General help using GNU software: <https://www.gnu.org/gethelp/>
- Report any translation bugs to <https://translationproject.org/team/>
๐ SEE ALSO ๐
kill(1)- Full documentation <https://www.gnu.org/software/coreutils/timeout> โ or available locally via:
info '(coreutils) timeout invocation'
and that's the whole page, pookie ๐ this version was GNU coreutils 9.10, dated August 2026, and it's packaged by Ubuntu (9.10-1ubuntu2) โ shoutout ๐
Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ๐ โจ
๐ฆ where this page comes from
- ubuntu stonking: gnu-coreutils 9.10-1ubuntu2 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms