mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-26 11:46:29 +08:00
Merge pull request #286 from shukitchan/master
Add "lockfile" and "logrorate"
This commit is contained in:
commit
11d6244c67
1 changed files with 4 additions and 0 deletions
|
@ -376,6 +376,10 @@ A few examples of piecing together commands:
|
||||||
|
|
||||||
- `time`: execute and time a command
|
- `time`: execute and time a command
|
||||||
|
|
||||||
|
- `lockfile`: create semaphore file that can only be removed by `rm -f`
|
||||||
|
|
||||||
|
- `logrotate`: rotate, compress and mail logs.
|
||||||
|
|
||||||
- `watch`: run a command repeatedly, showing results and/or highlighting changes
|
- `watch`: run a command repeatedly, showing results and/or highlighting changes
|
||||||
|
|
||||||
- `tac`: print files in reverse
|
- `tac`: print files in reverse
|
||||||
|
|
Loading…
Reference in a new issue