rust-timeout(1)

rust-timeout1

Start `command`, and kill it if still running after `duration`.

Usage

timeout [{-f | --foreground}] [{-k | --kill-after}] [{-p | --preserve-status}] [{-s | --signal}] [{-v | --verbose}] [{-h | --help}] [{-V | --version}] <duration> <command>

Overview

Start `COMMAND`, and kill it if still running after `DURATION`.

Options

-f, --foreground

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

-k, --kill-after

also send a KILL signal if COMMAND is still running this long after the initial signal was sent

-p, --preserve-status

exit with the same status as COMMAND, even when the command times out

-s, --signal=SIGNAL

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

-v, --verbose

diagnose to stderr any signal sent upon timeout

-h, --help

Print help

-V, --version

Print version

<duration>
<command>

Version

v0.0.30

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

--foreground since Debian 13 (Trixie); --kill-after since Debian 13 (Trixie); --preserve-status since Debian 13 (Trixie); --signal since Debian 13 (Trixie); -V since Debian 13 (Trixie); -f since Debian 13 (Trixie); -h since Debian 13 (Trixie); -k since Debian 13 (Trixie); -p since Debian 13 (Trixie); -s since Debian 13 (Trixie).

From rust-coreutils 0.0.30-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.