上一页 1 ··· 253 254 255 256 257 258 259 260 261 ··· 403 下一页
摘要: 1、测试数据 root@PC1:/home/test2# ls a.txt root@PC1:/home/test2# 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 阅读全文
posted @ 2022-03-23 10:48 小鲨鱼2018 阅读(400) 评论(0) 推荐(0)
摘要: 1、测试数据 root@PC1:/home/test2# ls a.txt root@PC1:/home/test2# cat a.txt i 3 a d g x 8 6 k m x a a y n 2、awk实现 (1)、每一行后添加空行 root@PC1:/home/test2# ls a.tx 阅读全文
posted @ 2022-03-23 10:05 小鲨鱼2018 阅读(919) 评论(0) 推荐(0)
摘要: 1、测试数据 root@PC1:/home/test# ls a.txt root@PC1:/home/test# cat a.txt i u k f 2 3 8 7 s j 9 4 2、利用for循环转置 root@PC1:/home/test# ls a.txt root@PC1:/home/t 阅读全文
posted @ 2022-03-23 08:45 小鲨鱼2018 阅读(600) 评论(0) 推荐(0)
摘要: 1、测试数据 root@PC1:/home/test# ls a.txt root@PC1:/home/test# cat a.txt ## 测试数据 i u k f 2 3 8 7 s j 9 4 形式一、按行排列 2、xargs实现 root@PC1:/home/test# ls a.txt r 阅读全文
posted @ 2022-03-22 23:36 小鲨鱼2018 阅读(144) 评论(0) 推荐(0)
摘要: 1、测试数据 root@PC1:/home/test# ls a.txt root@PC1:/home/test# cat a.txt i u k f 2 3 8 7 s j 9 4 2、形式1(按照行进行排列) root@PC1:/home/test# ls a.txt root@PC1:/hom 阅读全文
posted @ 2022-03-22 22:32 小鲨鱼2018 阅读(182) 评论(0) 推荐(0)
摘要: 1、生成测试数据 root@PC1:/home/test# ls a.txt root@PC1:/home/test# cat a.txt ## 测试数据 1 2 3 4 5 2、xargs实现 root@PC1:/home/test# ls a.txt root@PC1:/home/test# c 阅读全文
posted @ 2022-03-22 21:48 小鲨鱼2018 阅读(567) 评论(0) 推荐(0)
摘要: 1、选种需要注释的代码, ctrl + shift + c进行注释, 再次选中,执行ctrl + shift + c则取消注释 (1)选中: (2)、执行ctrl + shift + c进行注释 (3)选中 4、执行ctrl + shift + c,取消注释 阅读全文
posted @ 2022-03-21 10:23 小鲨鱼2018 阅读(1896) 评论(0) 推荐(0)
摘要: 1、测试1 >>> seq = 'ATGTGACCCTGATTTTGAATGatgAtgAtGaTGaTg' ## 定义测试字符串 >>> type(seq) <class 'str'>= 使用find查找: >>> seq.find('ATG') ## 返回查找字符串的第一个索引 0 >>> se 阅读全文
posted @ 2022-03-20 23:21 小鲨鱼2018 阅读(1197) 评论(0) 推荐(0)
摘要: 1、测试文件 root@PC1:/home/test3# ls root@PC1:/home/test3# touch a.txt b.txt ## 测试文件 root@PC1:/home/test3# ls a.txt b.txt root@PC1:/home/test3# lsattr a.tx 阅读全文
posted @ 2022-03-19 23:20 小鲨鱼2018 阅读(90) 评论(0) 推荐(0)
摘要: 1、测试 > par(mfrow=c(2,2)) > plot(1:10, main = "001") > plot(1:10, main = "002", xaxt = "n") ## 去除x轴 > plot(1:10, main = "003", yaxt = "n") ## 去除y轴 > pl 阅读全文
posted @ 2022-03-19 16:03 小鲨鱼2018 阅读(3546) 评论(0) 推荐(0)
上一页 1 ··· 253 254 255 256 257 258 259 260 261 ··· 403 下一页