摘要: 1、 root@DESKTOP-1N42TVH:/home/test# ls root@DESKTOP-1N42TVH:/home/test# ls /home/test2/* /home/test2/a.txt /home/test2/test.sh root@DESKTOP-1N42TVH:/h 阅读全文
posted @ 2022-04-26 23:21 小鲨鱼2018 阅读(2494) 评论(0) 推荐(0) 编辑
摘要: 来源: https://blog.csdn.net/weixin_45579994/article/details/112386425 WSL2默认可以使用的内存大小为主机的80%,对于Linux而言即使装了桌面,一般的开发也没必要给这么多内存,分多了,反而有可能卡主机的Windows操作:1.打开 阅读全文
posted @ 2022-04-26 22:03 小鲨鱼2018 阅读(3087) 评论(0) 推荐(0) 编辑
摘要: 001、 root@DESKTOP-1N42TVH:/home/test2# ls outcome.ped root@DESKTOP-1N42TVH:/home/test2# cat outcome.ped G G C C G G T T G G C C G G T G G G C C A A T 阅读全文
posted @ 2022-04-26 21:16 小鲨鱼2018 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1、方法1 root@DESKTOP-1N42TVH:/home/test# ls hg38.fa root@DESKTOP-1N42TVH:/home/test# grep -v "^>" hg38.fa | awk 'BEGIN{sum = 0} {sum += length($0)} END 阅读全文
posted @ 2022-04-26 17:10 小鲨鱼2018 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 root@DESKTOP-1N42TVH:/home/test2# ls test.txt root@DESKTOP-1N42TVH:/home/test2# cat test.txt i j k s root@DESKTOP-1N42TVH:/home/test2# sed -n l 阅读全文
posted @ 2022-04-26 15:21 小鲨鱼2018 阅读(1044) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 root@DESKTOP-1N42TVH:/home/test2# ls test.txt root@DESKTOP-1N42TVH:/home/test2# cat test.txt i j k x c b z c b e g a 2、输出行序号 root@DESKTOP-1N42T 阅读全文
posted @ 2022-04-26 15:10 小鲨鱼2018 阅读(391) 评论(0) 推荐(0) 编辑