摘要: 001、测试1 [root@pc1 test1]# ls [root@pc1 test1]# mkdir a/b/c ## mkdir创建连续目录,失败 mkdir: cannot create directory ‘a/b/c’: No such file or directory [root@p 阅读全文
posted @ 2024-01-31 17:48 小鲨鱼2018 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 001、输出首次出现的项 [root@pc1 test1]# ls test.map [root@pc1 test1]# cat test.map ## 测试数据 1 55910 1 85204 1 122948 2 167127 2 176079 2 361433 3 144010 3 19991 阅读全文
posted @ 2024-01-31 17:15 小鲨鱼2018 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 001、 输出最大项 (base) [b20223040323@admin1 test]$ ls a.txt (base) [b20223040323@admin1 test]$ cat a.txt ## 测试数据 a 88 a 76 b 88 c 10 b 777 c 200 a 87 c 150 阅读全文
posted @ 2024-01-31 16:42 小鲨鱼2018 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 001、判断元素存在于数组中 (base) [b20223040323@admin1 test]$ ls a.txt (base) [b20223040323@admin1 test]$ cat a.txt ## 测试数据 a 88 a 76 b 88 a 876 b 25 a 66 ## 判断元素 阅读全文
posted @ 2024-01-31 16:34 小鲨鱼2018 阅读(188) 评论(0) 推荐(0) 编辑