发表于: lnmp | 作者: | 日期: 2008/12/19 09:12
标签:

命令简介
分页显示文件内容,按Enter键显示下一页。

使用方式

pg [-number] [-p string] [-c] [-e] [-f] [-n] [-r][-s] [+ linenumber] [+/ pattern /] [filename]

部分参数说明

-number 每页显示的行数
-p string 修改命令提示符

部分命令说明

enter 显示下一页
$ 显示最后一页
h 帮助
q 退出

范例

每页显示5行,分页显示filename.txt文件中的内容。

pg -5 filename.txt

参考链接:
http://www.computerhope.com/unix/upg.htm

: https://blog.darkmi.com/2008/12/19/648.html

本文相关评论 - 1条评论都没有呢
Post a comment now » 本文目前不可评论

No comments yet.

Sorry, the comment form is closed at this time.