more命令会以一页一页的显示文件的内容,方便使用者逐页阅读。
最基本的指令就是按空白键(space)就往下一页显示,按 b 键就会往回(back)一页显示。
more命令从前向后读取文件,因此在启动时就加载整个文件。下面是more命令的超简单使用:
song@ubuntu:~$ vi hello.py
song@ubuntu:~$ more hello.py
print 'hello python'
print 'hello world'
print 'hello python,hello world'
最基本的指令就是按空白键(space)就往下一页显示,按 b 键就会往回(back)一页显示。
more命令从前向后读取文件,因此在启动时就加载整个文件。下面是more命令的超简单使用:
song@ubuntu:~$ vi hello.py
song@ubuntu:~$ more hello.py
print 'hello python'
print 'hello world'
print 'hello python,hello world'