timeout
Start COMMAND, and kill it if still running after DURATION.
- Provided by: rust-coreutils (Version: 0.8.0-0ubuntu3)
- Report a bug
Start COMMAND, and kill it if still running after DURATION.
timeout [-f|--foreground] [-k|--kill-after] [-p|--preserve-status] [-s|--signal] [-v|--verbose] [-h|--help] [-V|--version] <duration> <command>
Start COMMAND, and kill it if still running after DURATION.
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.
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
v(uutils coreutils) 0.8.0