上一页 1 ··· 248 249 250 251 252 253 254 255 256 ··· 408 下一页
摘要: 1、 [root@rhel7pc1 test]# ls a.txt [root@rhel7pc1 test]# cat a.txt 1 k d f 2 x c g 3 z c b 4 f i j 5 e d g 6 i j e [root@rhel7pc1 test]# sed '/x/, +1d' 阅读全文
posted @ 2022-04-10 14:52 小鲨鱼2018 阅读(88) 评论(0) 推荐(0)
摘要: 1、 [root@rhel7pc1 test]# ls a.txt [root@rhel7pc1 test]# cat a.txt 1 k d f 2 x c g 3 z c b 4 e w e 5 z c x 6 e d g 7 i j e [root@rhel7pc1 test]# grep - 阅读全文
posted @ 2022-04-10 14:42 小鲨鱼2018 阅读(105) 评论(0) 推荐(0)
摘要: 1、 [root@rhel7pc1 test]# ls a.txt [root@rhel7pc1 test]# cat a.txt 1 k d f 2 x c g 3 z c b 4 e w e 5 z c f 6 e d g [root@rhel7pc1 test]# sed -n '/x/{n; 阅读全文
posted @ 2022-04-10 14:24 小鲨鱼2018 阅读(399) 评论(0) 推荐(0)
摘要: 1、测试数据 [root@rhel7pc1 test]# ls a.txt [root@rhel7pc1 test]# cat a.txt ## 测试数据 1 k d f 2 x c g 3 z c b 4 e w e 5 z c f 6 e d g 2、删除匹配行及其下一行 [root@rhel7 阅读全文
posted @ 2022-04-10 14:02 小鲨鱼2018 阅读(1280) 评论(0) 推荐(0)
摘要: 1、测试数据 [root@rhel7pc1 test]# ls test.txt [root@rhel7pc1 test]# cat test.txt e 5435.1 f d f 1 j k d f e u d j 1 j [root@rhel7pc1 test]# sed -n l test.t 阅读全文
posted @ 2022-04-09 21:00 小鲨鱼2018 阅读(263) 评论(0) 推荐(0)
摘要: 1、测试数据 [root@centos7 test]# ls test.txt [root@centos7 test]# cat test.txt ## 测试数据 y j k j k h d j r [root@centos7 test]# sed -n l test.txt y\tj k$ \t\ 阅读全文
posted @ 2022-04-09 14:25 小鲨鱼2018 阅读(703) 评论(0) 推荐(0)
摘要: 1、测试数据 [root@centos7 test]# ls test.txt [root@centos7 test]# cat test.txt y j k j k h d j r [root@centos7 test]# sed -n l test.txt ## 测试数据 y\t\tj k$ j 阅读全文
posted @ 2022-04-09 14:15 小鲨鱼2018 阅读(522) 评论(0) 推荐(0)
摘要: 1、测试数据 [root@centos7 test]# ls test.txt [root@centos7 test]# cat test.txt ## 测试数据 d j m d j y i [root@centos7 test]# sed -n l test.txt ## 查看分割符 d j m$ 阅读全文
posted @ 2022-04-09 14:10 小鲨鱼2018 阅读(983) 评论(0) 推荐(0)
摘要: 1、测试数据 [root@centos7 test]# ls test.txt [root@centos7 test]# cat test.txt ## 测试数据 k m w g h g u y [root@centos7 test]# sed -n l test.txt ## 查看tab键 k\t 阅读全文
posted @ 2022-04-09 13:38 小鲨鱼2018 阅读(649) 评论(0) 推荐(0)
摘要: 1、 创建规律性计划任务: crontab -e 查看规律性计划任务:crontab -l 删除规律性计划任务:crontab -r 时间格式:分 时 月 年 星期 命令 实例: 1、创建规律性计划任务服务 [root@centos7 test]# crontab -e ## 输入该命令之后进入编辑 阅读全文
posted @ 2022-04-06 20:37 小鲨鱼2018 阅读(90) 评论(0) 推荐(0)
上一页 1 ··· 248 249 250 251 252 253 254 255 256 ··· 408 下一页