NoteDeep
head默认显示前10行
number若为负数,表示列前的所有行数,但不包括后面的行数。
若某个文件有150行,若用命令 head -n -100 filename 查询,则会列出前50行,后面100行不显示。



评论列表