sed -n '$p' target.file
awk 'END {print}' target.file
本文标题:取Linux 文件最后一行
本文链接:https://www.haomeiwen.com/subject/gwpehqtx.html
网友评论