coreutils commands: move pages to common/ folder (#2442)

This commit is contained in:
Felix Yan
2018-10-17 01:29:50 +08:00
committed by Starbeamrainbowlabs
parent 9ef7ec119a
commit 72b4f22ff9
36 changed files with 4 additions and 23 deletions

11
pages/common/timeout.md Normal file
View File

@@ -0,0 +1,11 @@
# timeout
> Run a command with a time limit.
- Run `sleep 10` and kill it, if it's running after 3 seconds:
`timeout {{3s}} {{sleep 10}}`
- Specify the signal to be sent to the command after the time limit expires. (By default, TERM is sent):
`timeout --signal {{INT}} {{5s}} {{sleep 10}}`