tail -f filename 不间断输出文件内容
tail -10 filename 输出文件的内容的后10行
tail -10 filename 倒序输出文件内容的后10行
head -10 filename 输出文件内容的前10行
cat filename 正序输出文件
tac filename 倒序输出文件
tail -f filename 不间断输出文件内容
tail -10 filename 输出文件的内容的后10行
tail -10 filename 倒序输出文件内容的后10行
head -10 filename 输出文件内容的前10行
cat filename 正序输出文件
tac filename 倒序输出文件