[Linux]文件显示
head hi.txt: 显示前面若干行
head -500 hi.txt: 显示前500行
tail hi.txt: 显示后面若干行
tail -20 hi.txt: 显示最后二十行
tail +30 hi.txt: 显示从40行开始到结尾
more: 分页显示
less: 也是分页,但可以按b向前翻
发布时间: 2012-06-28 15:20:04 作者: rapoo
[Linux]文件显示
head hi.txt: 显示前面若干行
head -500 hi.txt: 显示前500行
tail hi.txt: 显示后面若干行
tail -20 hi.txt: 显示最后二十行
tail +30 hi.txt: 显示从40行开始到结尾
more: 分页显示
less: 也是分页,但可以按b向前翻