add new chinese translations
This commit is contained in:
29
pages.zh/osx/tail.md
Normal file
29
pages.zh/osx/tail.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# tail
|
||||
|
||||
> 显示文件的最后部分。
|
||||
> 参见:`head`。
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/tail.1.html>。
|
||||
|
||||
- 显示文件中的最后 'count' 行:
|
||||
|
||||
`tail -n {{8}} {{path/to/file}}`
|
||||
|
||||
- 从特定行号开始打印文件:
|
||||
|
||||
`tail -n +{{8}} {{path/to/file}}`
|
||||
|
||||
- 从给定文件的末尾打印特定字节数:
|
||||
|
||||
`tail -c {{8}} {{path/to/file}}`
|
||||
|
||||
- 打印给定文件的最后几行,并持续读取,直到 `Ctrl + C`:
|
||||
|
||||
`tail -f {{path/to/file}}`
|
||||
|
||||
- 持续读取文件,直到 `Ctrl + C`,即使文件无法访问:
|
||||
|
||||
`tail -F {{path/to/file}}`
|
||||
|
||||
- 显示 'file' 的最后 'count' 行,并每 'seconds' 秒刷新一次:
|
||||
|
||||
`tail -n {{8}} -s {{10}} -f {{path/to/file}}`
|
Reference in New Issue
Block a user