摘要: 1、 root@PC1:/home/test4# ls a.txt b.txt root@PC1:/home/test4# cat a.txt a a b b c d e root@PC1:/home/test4# cat b.txt c d e f f g root@PC1:/home/test4 阅读全文
posted @ 2022-05-27 11:40 小鲨鱼2018 阅读(55) 评论(0) 推荐(0)
摘要: 1、测试数据 root@PC1:/home/test4# ls a.txt b.txt root@PC1:/home/test4# cat a.txt a b c d e root@PC1:/home/test4# cat b.txt c d d xef e f g 2、grep -f选项的作用表示 阅读全文
posted @ 2022-05-27 11:30 小鲨鱼2018 阅读(2948) 评论(0) 推荐(0)
摘要: 分类1:当两个文件没有重复项时。 1、测试数据 root@PC1:/home/test4# ls a.txt b.txt root@PC1:/home/test4# cat a.txt ## 测试数据 a b c d e root@PC1:/home/test4# cat b.txt c d e f 阅读全文
posted @ 2022-05-27 11:03 小鲨鱼2018 阅读(239) 评论(0) 推荐(0)