摘要: 001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 阅读全文
posted @ 2023-05-13 22:16 小鲨鱼2018 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 001、从头向前,最短删除 [root@PC1 test]# var=GCF_000001735.4_TAIR10.1_genomic.fna [root@PC1 test]# echo $var GCF_000001735.4_TAIR10.1_genomic.fna [root@PC1 test 阅读全文
posted @ 2023-05-13 21:53 小鲨鱼2018 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 001、rename [root@PC1 test]# ls 1.csv 2.csv 3.csv a.txt b.txt c.txt [root@PC1 test]# rename ".txt" "" *.txt ## 删除.txt后缀 [root@PC1 test]# ls 1.csv 2.csv 阅读全文
posted @ 2023-05-13 21:29 小鲨鱼2018 阅读(516) 评论(0) 推荐(0) 编辑
摘要: 001、在远程服务器终端生成公钥和私钥 [root@PC1 ~]# ssh-keygen -t rsa ## 执行该命令 Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/i 阅读全文
posted @ 2023-05-13 18:27 小鲨鱼2018 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 001、型号 [root@PC1 test]# cat /proc/cpuinfo | grep name | cut -f 2 -d: | uniq -c 6 12th Gen Intel(R) Core(TM) i5-12500H 6: 总核心数 12th:12代处理器 Gen:genunie, 阅读全文
posted @ 2023-05-13 11:49 小鲨鱼2018 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 001、总内存 [root@PC1 test]# free -h total used free shared buff/cache available Mem: 3.7G 830M 1.8G 38M 1.1G 2.5G Swap: 3.9G 0B 3.9G 002、总硬盘 [root@PC1 te 阅读全文
posted @ 2023-05-13 11:22 小鲨鱼2018 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 001、 投递该任务 (base) [b20223040323@admin1 test]$ ls a.txt record.sh (base) [b20223040323@admin1 test]$ cat a.txt ## 循环配置文件 1 1000000000 2 500000000 (base 阅读全文
posted @ 2023-05-13 08:52 小鲨鱼2018 阅读(34) 评论(0) 推荐(0) 编辑