摘要: 001、磁盘占用 (base) [root@pc1 test1]# ls test1 test2 test3 (base) [root@pc1 test1]# find $PWD -type d ## 查出所有目录 /home/test1 /home/test1/test1 /home/test1/ 阅读全文
posted @ 2023-09-27 21:55 小鲨鱼2018 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test2]# ls a.txt [root@pc1 test2]# cat a.txt batch01 xyz1 batch02 xyz2 batch03 xyz3 batch04 xyz4 batch05 xyz5 [root@pc1 test2]# awk '{s 阅读全文
posted @ 2023-09-27 09:03 小鲨鱼2018 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 001、split实现 a、 [root@pc1 test1]# ls a.txt [root@pc1 test1]# cat a.txt ## 测试文件 01 02 03 04 05 06 07 08 09 10 11 12 [root@pc1 test1]# split -l 4 a.txt b 阅读全文
posted @ 2023-09-27 08:21 小鲨鱼2018 阅读(9) 评论(0) 推荐(0) 编辑