Text Viewing
head
head FILE
# -n 显示文件FILE的前n行
# NAME: output the first part of filestail
tail FILE
# -n 显示文件FILE的后n行
# -f output appended data as the file grows
# NAME: output the last part of filescat
cat FILE
# -n number all output lines. 显示行号
# NAME: concatenate files and print on the standard outputtac
wc
Last updated