timeout runs the given command and kills it if it is still running after the specified time interval. Synopsis:
timeout [option] number[smhd] command [arg]...
number is an integer followed by an optional unit; the default is seconds. The units are:
command must not be a special built-in utility (see Special built-in utilities).
The program accepts the following option. Also see Common options. Options must precede operands.
124 if command times out
125 if timeout itself fails
126 if command is found but cannot be invoked
127 if command cannot be found
the exit status of command otherwise