timeout
Verified for current stable LTS
Timeout Command: Run Command With Time Limit
Use for run command with time limit with Timeout. Exact CLI syntax to run command with time limit using Timeout.
When to use this: Use for run command with time limit with Timeout.
Command Syntax
timeout <3s> sleep 10 timeout <3s> sleep 10 Command Breakdown
timeout is the base executable for this command.
FAQ
Purpose: Exact syntax to run command with time limit 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: Preserve Exit Status On Timeout timeout -p <1s|1m|1h|1d|...> <command> 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>