1TIMEOUT(1) User Commands TIMEOUT(1)
2
3
4
6 timeout - run a command with a time limit
7
9 timeout [OPTION] NUMBER[SUFFIX] COMMAND [ARG]...
10 timeout [OPTION]
11
13 Start COMMAND, and kill it if still running after NUMBER seconds. SUF‐
14 FIX may be `s' for seconds (the default), `m' for minutes, `h' for
15 hours or `d' for days.
16
17 Mandatory arguments to long options are mandatory for short options
18 too.
19
20 -s, --signal=SIGNAL
21
22 specify the signal to be sent on timeout. SIGNAL may be a name
23 like `HUP' or a number. See `kill -l` for a list of signals
24
25 --help
26 display this help and exit
27
28 --version
29 output version information and exit
30
31 If the command times out, then exit with status 124. Otherwise, exit
32 with the status of COMMAND. If no signal is specified, send the TERM
33 signal upon timeout. The TERM signal kills any process that does not
34 block or catch that signal. For other processes, it may be necessary
35 to use the KILL (9) signal, since this signal cannot be caught.
36
38 Written by Padraig Brady.
39
41 Report timeout bugs to bug-coreutils@gnu.org
42 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
43 General help using GNU software: <http://www.gnu.org/gethelp/>
44 Report timeout translation bugs to <http://translationpro‐
45 ject.org/team/>
46
48 Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU
49 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
50 This is free software: you are free to change and redistribute it.
51 There is NO WARRANTY, to the extent permitted by law.
52
54 kill(1)
55
56 The full documentation for timeout is maintained as a Texinfo manual.
57 If the info and timeout programs are properly installed at your site,
58 the command
59
60 info coreutils 'timeout invocation'
61
62 should give you access to the complete manual.
63
64
65
66GNU coreutils 8.4 June 2018 TIMEOUT(1)