摘要: 添加内容 指定行后添加 -a [root@localhost luoqi1]# sed '2a luoqi' test.txt 12luoqi345 指定行前添加 -i 12luoqi345 [root@localhost luoqi1]# sed '2a luoqi' test.txt 1 2 l 阅读全文
posted @ 2019-02-12 18:34 在路上的LQ 阅读(178) 评论(0) 推荐(0) 编辑