timeout(1) General Commands Manual timeout(1)

timeout - 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.

when not running timeout directly from a shell prompt, allow COMMAND to read from the TTY and get TTY signals; in this mode, children of COMMAND will not be timed out
also send a KILL signal if COMMAND is still running this long after the initial signal was sent
exit with the same status as COMMAND, even when the command times out
specify the signal to be sent on timeout; SIGNAL may be a name like 'HUP' or a number; see 'kill -l' for a list of signals
diagnose to stderr any signal sent upon timeout
Print help
Print version
<duration>
<command>

v(uutils coreutils) 0.2.2

timeout (uutils coreutils) 0.2.2