初步代码 <span style="font-size:18px;">''''' Work with virtual machines managed by libvirt :depends: libvirt Python module ''' # Special Thanks to Michael Dehann, many of the concepts, and a few structures # of his in the virt func module have
more 类似cat,不过more不是将整个文件内容从上到下显示在屏幕上的,而是以一页一页的显示方便使用者逐页阅读.more最基本的指令就是space即往下翻一页,b即往回翻一页显示,而且还有搜索字符串的功能 +n:从第n行开始显示 -n:定义屏幕大小为n行 +/pattern:在每个档案显示前搜索该字符串patern,然后从该字符串前两行之后显示 -p:通过清除窗口而不是滚屏来对文件进行换页,与-c选项相似 -s:把连续的多个空行显示为一行 -u:把文件内容中的下划线去掉 常用操作命令: En