📜  sed 删除最后 3 行 - Shell-Bash 代码示例

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

代码示例1
head -n -1 file.txt    #Use negative numbers after flag for last lines