mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-24 04:16:29 +08:00
Added timeout command
This commit is contained in:
parent
3ba84f89e5
commit
eac3b7bc26
1 changed files with 2 additions and 0 deletions
|
@ -386,6 +386,8 @@ A few examples of piecing together commands:
|
|||
|
||||
- `time`: execute and time a command
|
||||
|
||||
- `timeout`: execute a command for specified amount of time and stop the process when the specified amount of time completes.
|
||||
|
||||
- `lockfile`: create semaphore file that can only be removed by `rm -f`
|
||||
|
||||
- `logrotate`: rotate, compress and mail logs.
|
||||
|
|
Loading…
Reference in a new issue