随笔分类 - linux shell
摘要:001、 root@PC1:/home/test2# ls a.txt root@PC1:/home/test2# cat a.txt aa dd ss dd ff xv ef 33 cc xx ee ww df ff zc xx xx ff er ed ww xx xx ee er uy vv r
阅读全文
摘要:001、解压 .tar.lzma文件 root@PC1:/home/test2/test# ls test_chr22.tar.lzma ## 增加 -k 参数 保留源文件 unlzma -k test_chr22.tar.lzma root@PC1:/home/test2/test# unlzma
阅读全文
摘要:001、\S:大写S root@PC1:/home/test2# ls a.txt root@PC1:/home/test2# cat a.txt 33-16 CC CC GG TT GG TT GG TT CC 38-11 CC GG GG TT GG TT CC TT CC 4226 CC CC
阅读全文
摘要:001、问题 root@PC1:/home/software# bash TASSEL_5_unix.sh Starting Installer ... Gtk-Message: 14:04:38.467: Failed to load module "canberra-gtk-module" 00
阅读全文
摘要:001、 root@PC1:/home/test3# ls a.txt root@PC1:/home/test3# cat a.txt e_r:e_y k:e_g_x_3 1_3:e:g:e root@PC1:/home/test3# awk -F "[_:]" '{print $2}' a.txt
阅读全文
摘要:001、 root@PC1:/home/test3# ls a.txt root@PC1:/home/test3# cat a.txt e r e y e u e e e g e 3 h r 1 3 e g e y e e s e e e e e root@PC1:/home/test3# cp a
阅读全文
摘要:001、paste -s实现 root@PC1:/home/test3# ls a.txt root@PC1:/home/test3# cat a.txt j k u k r k s k j u e a f d e u i w j j k k e f root@PC1:/home/test3# pa
阅读全文
摘要:001、sed实现 root@PC1:/home/test3# ls a.txt root@PC1:/home/test3# cat a.txt j k u k r k s k j u e a f d e u i w j j k k e f root@PC1:/home/test3# sed 's/
阅读全文
摘要:001、 root@PC1:/home/test3# ls a.txt root@PC1:/home/test3# cat a.txt ## 测试数据, 统计每一行出现的k的次数 j k u k r k s k j u e a f d e u i w j j k k e f root@PC1:/ho
阅读全文
摘要:001、tgz文件的生成 root@DESKTOP-1N42TVH:/home/test5# ls outcome.map outcome.ped root@DESKTOP-1N42TVH:/home/test5# md5sum outcome.* 3512684a76436a00efbeda68c
阅读全文
摘要:001、 root@DESKTOP-1N42TVH:/home/test5/test/test# cat a.txt 5 8 2 7 9 30 1 10 3 6 7 5 root@DESKTOP-1N42TVH:/home/test5/test/test# awk '{if(NR == 1) {mi
阅读全文
摘要:001、 root@DESKTOP-1N42TVH:/home/test5/test/test# ls a.txt root@DESKTOP-1N42TVH:/home/test5/test/test# cat a.txt 1570051 1570053 5188621 5178672 518870
阅读全文
摘要:001、 root@DESKTOP-1N42TVH:/home/test5/test# ls a.txt root@DESKTOP-1N42TVH:/home/test5/test# cat a.txt Chr8 Chr4 Chr1 Chr3 Chr7 Chr10 Chr11 Chr12 Chr2
阅读全文
摘要:sort -k选项用于指定按照哪一列进行排序。 001、 root@DESKTOP-1N42TVH:/home/test5/test# ls facebook.txt root@DESKTOP-1N42TVH:/home/test5/test# cat facebook.txt google 110
阅读全文
摘要:001、 root@DESKTOP-1N42TVH:/home/test5/test/test# ls test.fa root@DESKTOP-1N42TVH:/home/test5/test/test# cat test.fa >Chr1 ACCCTAAACCCTAAACCCTAAACCCTAA
阅读全文
摘要:001、 root@DESKTOP-1N42TVH:/home/test5/test/test# ls test.fa root@DESKTOP-1N42TVH:/home/test5/test/test# cat test.fa ## 测试fasta文件 >Chr1 ACCCTAAACCCTAAA
阅读全文
摘要:001、 root@DESKTOP-1N42TVH:/home/test2# ls a.txt root@DESKTOP-1N42TVH:/home/test2# cat a.txt 1 01 2 02 3 AAA 4 03 5 04 6 03 7 BBB 8 06 9 07 10 BBB 11 0
阅读全文
摘要:001、 root@DESKTOP-1N42TVH:/home/test2# ls a.txt root@DESKTOP-1N42TVH:/home/test2# cat a.txt 01 02 AAA 03 04 05 BBB 06 07 08 CCC 09 10 root@DESKTOP-1N4
阅读全文
摘要:001、 root@DESKTOP-1N42TVH:/home/test2# ls a.txt root@DESKTOP-1N42TVH:/home/test2# cat a.txt ## 测试数据 01 1 02 2 AA 3 03 4 04 5 05 6 BB 7 06 8 07 9 AA 10
阅读全文
摘要:001、zmore root@DESKTOP-1N42TVH:/home/test4# ls outcome.ped.gz root@DESKTOP-1N42TVH:/home/test4# zmore outcome.ped.gz 002、zless root@DESKTOP-1N42TVH:/h
阅读全文