摘要: 一、sed用法 command: a:新增,当前行的下一行 c:取代 d:删除 i:插入 1、显示某行: [root@centos74-k8s ~]# sed -n '1p' test.txt [root@centos74-k8s ~]# sed -n '1,2p' test.txt [root@c 阅读全文
posted @ 2020-09-17 00:22 闲云野鹤cs 阅读(152) 评论(0) 推荐(0) 编辑