head -n 5 myfile1.txt
释义:显示myfile1.txt文件的头5行 ,为方便理解,我事先在myfile1.txt文件中写入了20行,每行是数字1-20分别写入
root@localhost ~]# head -n 5 myfile1.txt 1 2 3 4 5
head -n 5 myfile1.txt
释义:显示myfile1.txt文件的头5行 ,为方便理解,我事先在myfile1.txt文件中写入了20行,每行是数字1-20分别写入
root@localhost ~]# head -n 5 myfile1.txt 1 2 3 4 5