timeout
Verified for current stable LTS
Timeout Command: Preserve Exit Status On Timeout
Use for preserve exit status on timeout with Timeout. Exact CLI syntax to preserve exit status on timeout using Timeout.
When to use this: Use for preserve exit status on timeout with Timeout.
Command Syntax
timeout -p <1s|1m|1h|1d|...> <command> timeout -p <1s|1m|1h|1d|...> <command> Command Breakdown
-p- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to preserve exit status on timeout using Timeout.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Timeout Command: Force Kill After Timeout
timeout -k <5m> <30s> <command> Timeout Command: Run Command With Time Limit timeout <3s> sleep 10 Timeout Command: Send Signal On Timeout timeout -s <INT|HUP|KILL|...> <5s> <sleep 10> Timeout Command: Verbose Output On Timeout timeout -v <0.5s|1m|1h|1d|...> <command> Jmeter Command: Run Test Plan Nongui Proxy jmeter -n -t <path/to/file.jmx> -H- <127.0.0.1> -P <8888>