Dan*_*ens 9 unix command-line less
在less
是有重装从一个磁盘文件的命令,这样不太会显示自少开始对文件所做的任何更改?less
如果我想查看我正在查看的文件的更改,这将使我不必终止并重新启动。
精细手册中详细介绍了两个可能相关的命令 less(1)
R Repaint the screen, discarding any buffered input. Useful if
the file is changing while it is being viewed.
F Scroll forward, and keep trying to read when the end of file is
reached. Normally this command would be used when already at
the end of the file. It is a way to monitor the tail of a file
which is growing while it is being viewed. (The behavior is
similar to the "tail -f" command.)
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
3792 次 |
最近记录: |