📜  尾文件前 100 行 linux - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:27.879000             🧑  作者: Mango

代码示例1
#view data file and create new file (linux) 
tail -100 note.txt
head -100 note.txt
tail -100 note.txt > note_last_100_line.txt
head -100 note.txt > note_first_100_line.txt