上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 407 下一页
摘要: 001、 >>> os.listdir() ## 当前路径下的文件 ['a.txt'] >>> input_file = open("a.txt") ## 打开文件 >>> for i in input_file: ... i = i.strip() ... print(i) ... 01 02 0 阅读全文
posted @ 2025-05-19 22:43 小鲨鱼2018 阅读(63) 评论(0) 推荐(0)
摘要: 001、默认查找所有文件类型 (base) [root@PC1 test]# ls a.txt dir_layer1 (base) [root@PC1 test]# tree ## 测试数据结构 . ├── a.txt └── dir_layer1 ├── a.txt └── dir_layer2 阅读全文
posted @ 2025-05-19 08:46 小鲨鱼2018 阅读(75) 评论(0) 推荐(0)
摘要: 001、 [root@PC1 test]# ls test [root@PC1 test]# tree -h . └── [ 32] test ├── [ 86M] a.txt └── [ 43] dir01 ├── [ 7.6M] a.txt ├── [ 7.6M] b.txt └── [ 19] 阅读全文
posted @ 2025-05-15 09:24 小鲨鱼2018 阅读(23) 评论(0) 推荐(0)
摘要: 001、conda报错如下: error libmamba response code: -1 error message: Permission deniedcritical libmamba failed to execute pre/post link script for spades 00 阅读全文
posted @ 2025-05-13 21:13 小鲨鱼2018 阅读(58) 评论(0) 推荐(0)
摘要: 001、bedtools samtools sort -n -o xxx.qsort.bam xxx.bam ## 首选对bam文件进行排序 bedtools bamtofastq -i xxx.qsort.bam -fq xxx.end1.fq -fq2 xxx.end2.fq ## 将bam文件 阅读全文
posted @ 2025-05-12 11:43 小鲨鱼2018 阅读(171) 评论(0) 推荐(0)
摘要: 001、docker报错如下: Error response from daemon: Get "[https://registry-1.docker.io/v2/](https://registry-1.docker.io/v2/ 002、问题原因 docker镜像失效 003、修改镜像配置文件, 阅读全文
posted @ 2025-05-09 00:06 小鲨鱼2018 阅读(594) 评论(0) 推荐(0)
摘要: 001、docker报错如下: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalct 阅读全文
posted @ 2025-05-09 00:00 小鲨鱼2018 阅读(725) 评论(0) 推荐(0)
摘要: 001、生成测试数据 [root@PC1 test]# ls [root@PC1 test]# touch {001..100}.txt ## 生成测试数据 [root@PC1 test]# ls 001.txt 009.txt 017.txt 025.txt 033.txt 041.txt 049 阅读全文
posted @ 2025-05-08 23:10 小鲨鱼2018 阅读(28) 评论(0) 推荐(0)
摘要: 001、Linux中eval命令时内建命令,其作用是会执行字符串内部的命令 [root@PC1 test]# echo "seq 5" ## seq 5写入字符串 seq 5 [root@PC1 test]# eval "seq 5" ## eval可以执行字符串内部的命令 1 2 3 4 5 。 阅读全文
posted @ 2025-05-08 22:50 小鲨鱼2018 阅读(31) 评论(0) 推荐(0)
摘要: 001、查看系统信息 [root@PC1 software]# hostnamectl Static hostname: PC1 Icon name: computer-vm Chassis: vm Machine ID: 7c6deea1d66945718f62729ea78d608a Boot 阅读全文
posted @ 2025-05-08 22:41 小鲨鱼2018 阅读(47) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 407 下一页