上一页 1 ··· 150 151 152 153 154 155 156 157 158 ··· 408 下一页
摘要: 001、 [liujiaxin01@PC1 test]$ ls a.txt [liujiaxin01@PC1 test]$ cat a.txt ## 测试数据 ## xxx yy ## ddd ss ## kkk qqq ## mm nn 1 a A 7 2 b B 6 3 c C 5 4 d D 阅读全文
posted @ 2022-12-24 13:24 小鲨鱼2018 阅读(665) 评论(0) 推荐(0)
摘要: 001、 [liujiaxin01@PC1 test]$ ls a.txt [liujiaxin01@PC1 test]$ cat a.txt ## xxx yy ## ddd ss ## kkk qqq ## mm nn 1 a A 7 2 b B 6 3 c C 5 4 d D 4 [liuji 阅读全文
posted @ 2022-12-24 13:20 小鲨鱼2018 阅读(289) 评论(0) 推荐(0)
摘要: 001、 [liujiaxin01@PC1 test]$ ls a.txt [liujiaxin01@PC1 test]$ cat a.txt ## 测试数据 1 a A 7 2 b B 6 3 c C 5 4 d D 4 5 e E 3 6 f F 2 7 g G 1 [liujiaxin01@P 阅读全文
posted @ 2022-12-24 13:02 小鲨鱼2018 阅读(1063) 评论(0) 推荐(0)
摘要: 001、 [liujiaxin01@PC1 test]$ ls a.txt b.txt [liujiaxin01@PC1 test]$ echo {a..e} ## 输出a-e的字母序列 a b c d e [liujiaxin01@PC1 test]$ echo {a..e} | tr " " " 阅读全文
posted @ 2022-12-24 12:43 小鲨鱼2018 阅读(168) 评论(0) 推荐(0)
摘要: 001、 [root@pc1 test]# ls [root@pc1 test]# var=mnopqrst ## 测试变量 [root@pc1 test]# echo $var ## 打印出该变量 mnopqrst [root@pc1 test]# echo ${var%qrst} ## 利用{} 阅读全文
posted @ 2022-12-24 09:42 小鲨鱼2018 阅读(518) 评论(0) 推荐(0)
摘要: 001、 [root@pc1 test3]# ls a.txt [root@pc1 test3]# cat a.txt ## 测试数据 a b c a b c a b c [root@pc1 test3]# sed '1,6 /a/d' a.txt ## 删除1-6行中,匹配a的行, 发现报错 se 阅读全文
posted @ 2022-12-23 15:17 小鲨鱼2018 阅读(782) 评论(0) 推荐(0)
摘要: 001、测试数据 [root@pc1 test2]# ls a.fa [root@pc1 test2]# cat a.fa ## 测试数据 >chr1 ddtttggggg eeeeee >chr2 iiiiirrrr sssssssss >chr3 uuuuueeeee qqqqqqqqq >ch 阅读全文
posted @ 2022-12-23 14:56 小鲨鱼2018 阅读(87) 评论(0) 推荐(0)
摘要: 一、卸载java1.8 001、查看系统 [root@pc1 home]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 002、查看当前的java版本 [root@pc1 home]# java -version open 阅读全文
posted @ 2022-12-22 17:20 小鲨鱼2018 阅读(1859) 评论(0) 推荐(0)
摘要: 001、 [root@pc1 test1]# start=$(date +%s) ## 记录程序的开始时间 [root@pc1 test1]# echo $start 1671529118 [root@pc1 test1]# end=$(date +%s) ## 记录程序的结束时间 [root@pc 阅读全文
posted @ 2022-12-20 09:41 小鲨鱼2018 阅读(212) 评论(0) 推荐(0)
摘要: 001、查找在过去五分钟内修改过的文件 find ./ -mmin -5 002、查找在过去10分钟内修改过的文件 find ./ -mmin -10 003、查找在过去一天内修改过的文件 find ./ -mtime -1 004、查找在过去10天内修改过的文件 find ./ -mtime -1 阅读全文
posted @ 2022-12-20 09:37 小鲨鱼2018 阅读(2206) 评论(0) 推荐(0)
上一页 1 ··· 150 151 152 153 154 155 156 157 158 ··· 408 下一页