Linux sed 命令查看文件指定行数内容
Linux sed About 94 words查看指定一行内容
查看a.txt中的第5行
sed -n 5p a.txt
查看指定行与指定行之间的内容
查看a.txt中第5行到第10行之间的内容
sed -n 5,10p a.txt
Views: 4,394 · Posted: 2019-05-09
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓

Loading...