例A:比如,我的/mnt/D目录下有一个文件名“readme.txt”,我想看它头几行的内容,可用命令:
# head /mnt/D/readme.txt
Macromedia
Flash Player 6 for Linux
Mozilla Plug-in and Standalone players
Update Version 6.0r79
4 March 2003
New in This Version
-------------------
find for the dir
3、tail 查看文件尾部内容命令。
命令格式:# tail [[选项]] <文件列表>
常用选项:
-c,--bytes=SIZE ,打印文件最后的SIZE字节内容。
-n,--lines=NUMBER,打印文件最后的NUMBER行,默认是输出前面10行。
-q,表明不显示文件名的首部。
-v,表明要显示文件名的首部。
命令使用说明:
用这个命令主要是用来显示文件我尾部内容。以确认是不是我们想要打开或查找的文件。
例子:
例A:在上例中,若想看后面10行的内容,可用命令:
#tail /mnt/D/readme.txt
2) Browser version
3) Reproducible steps including a URL to the web site where the
problem was encountered.
If we need further information about a bug, you will be contacted. An
automated reply will be sent to assure you that we have received your
bug report. Due to the volume of mail received we are not able to
individually respond to each report.