📜  linux 从文件中删除最后 n 行 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:49:58.597000             🧑  作者: Mango
代码示例2
#remove last 80 lines from cars.csv
head -n -80 cars.csv > tmp.csv && mv tmp.csv cars.csv