摘要: 001、将所有的小写字母转换为大写 [root@PC1 test4]# ls a.txt [root@PC1 test4]# cat a.txt ## 测试数据 abd mnj uyr XDE THR QYE cvb Ddg gyi [root@PC1 test4]# sed 's/[a-z]/\U 阅读全文
posted @ 2023-05-30 21:29 小鲨鱼2018 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@PC1 test3]# ls test1 test2 [root@PC1 test3]# tree ## 测试数据 . ├── test1 │ └── a.txt └── test2 └── b.txt 2 directories, 2 files [root@PC1 test 阅读全文
posted @ 2023-05-30 16:42 小鲨鱼2018 阅读(1718) 评论(0) 推荐(0) 编辑