摘要:
1、测试数据 [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t e 4 s 2、删除匹配k的行及其后2行 [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 阅读全文
posted @ 2021-07-09 00:44
小鲨鱼2018
阅读(1527)
评论(0)
推荐(0)
摘要:
1、测试数据 [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t e 4 s 2、将第2行替换为xxxx [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 阅读全文
posted @ 2021-07-09 00:33
小鲨鱼2018
阅读(5343)
评论(0)
推荐(0)
摘要:
1、测试数据如下: [root@centos79 test]# ls a.txt [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t e 4 s 2、在第2行后插入xxxx [root@centos79 阅读全文
posted @ 2021-07-09 00:27
小鲨鱼2018
阅读(17928)
评论(0)
推荐(1)
摘要:
1、测试数据如下: [root@centos79 test]# ls a.txt b.txt [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t e 4 s [root@centos79 test]# c 阅读全文
posted @ 2021-07-09 00:02
小鲨鱼2018
阅读(491)
评论(0)
推荐(0)