上一页 1 ··· 158 159 160 161 162 163 164 165 166 ··· 367 下一页
摘要: 001、问题 002、检测是否安装了ssh root@ubuntu01pc1:~# ps -e | grep ssh 003、 安装ssh服务 root@ubuntu01pc1:~# apt install openssh-server openssh-client -y 004、启动ssh服务、查 阅读全文
posted @ 2022-08-08 01:18 小鲨鱼2018 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 001、 liujiaxin01@ubuntu01pc1:~/Desktop$ whoami liujiaxin01 liujiaxin01@ubuntu01pc1:~/Desktop$ sudo passwd root ## 创建root账户 [sudo] password for liujiax 阅读全文
posted @ 2022-08-08 01:07 小鲨鱼2018 阅读(1556) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@PC1 test4]# ls a.txt [root@PC1 test4]# shasum a.txt 8b945928bcfa1a6018f3e65d83ad27c6879bd6c8 a.txt [root@PC1 test4]# shasum --algorithm 256 阅读全文
posted @ 2022-08-07 23:50 小鲨鱼2018 阅读(744) 评论(0) 推荐(0) 编辑
摘要: 001、 >>> import re ## 导入re包 >>> str = "abcaabxyxy" >>> re.findall('a', str) ## 返回所有的a,生成列表 ['a', 'a', 'a'] >>> re.findall('b', str) ['b', 'b'] >>> re. 阅读全文
posted @ 2022-08-07 22:36 小鲨鱼2018 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 001、 root@PC1:/home/test# ls test.fasta test.py root@PC1:/home/test# cat test.fasta ## 测试文件 >scaffold_1 CCCGGGTAAAACGGGTCTTCAAGAAAACGCTCCTCCGTTAATGCCG 阅读全文
posted @ 2022-08-07 22:30 小鲨鱼2018 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 001、 root@PC1:/home/test# ls test.fasta test.py root@PC1:/home/test# cat test.fasta ## 测试数据 >scaffold_1 CCCGGGTAAAACGGGTCTTCAAGAAAACGCTCCTCCGTTAATGCCG 阅读全文
posted @ 2022-08-07 21:09 小鲨鱼2018 阅读(493) 评论(0) 推荐(0) 编辑
摘要: 001、 root@PC1:/home/test# cat test.fasta ## 测试数据 >scaffold_1 CCCGGGTAAAACGGGTCTTCAAGAAAACGCTCCTCCGTTAATGCCGGCCGATTCAAATAA CGCTGATTCTGATTCAGGATATACAATC 阅读全文
posted @ 2022-08-07 19:03 小鲨鱼2018 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 001、 root@PC1:/home/test# ls test.fastq test.py root@PC1:/home/test# cat test.fastq ## 测试fastq文件 @A00530:26:H35FTDSXX:4:1101:6614:1047 1:N:0:AACGTGAT 阅读全文
posted @ 2022-08-06 22:58 小鲨鱼2018 阅读(583) 评论(0) 推荐(0) 编辑
摘要: 001、创建函数 >>> def test_fun(): ## 创建函数 ... print("hello world!") ... >>> test_fun() ## 调用函数 hello world! 002、顺序参数、关键字参数 >>> def test_fun(x,y): ## 定义函数, 阅读全文
posted @ 2022-08-06 15:05 小鲨鱼2018 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 001、 >>> test1 = dict(c = 200, a = 400, d = 300, b = 700) >>> test1 {'c': 200, 'a': 400, 'd': 300, 'b': 700} >>> test2 = {} >>> temp = [] >>> for i in 阅读全文
posted @ 2022-08-06 14:38 小鲨鱼2018 阅读(51) 评论(0) 推荐(0) 编辑
上一页 1 ··· 158 159 160 161 162 163 164 165 166 ··· 367 下一页