摘要: 001、去重复保持原来的顺序 [root@pc1 test01]# ls a.txt [root@pc1 test01]# cat a.txt ## 测试数据 1 2 5 5 3 3 7 7 4 [root@pc1 test01]# awk 'ay[$0]++' a.txt ## 输出重复项,且保持 阅读全文
posted @ 2023-09-07 22:59 小鲨鱼2018 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 001、问题 [root@pc1 test01]# pip3 --version 002、解决方法 a、 [root@pc1 test01]# yum -y install epel-release b、 [root@pc1 test01]# yum install python3-pip -y 0 阅读全文
posted @ 2023-09-07 17:53 小鲨鱼2018 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test02]# ls a.txt test.sh [root@pc1 test02]# cat a.txt ## 测试序列 GATATATGCATATACTT [root@pc1 test02]# cat test.sh ## 计算程序 #!/bin/bash len 阅读全文
posted @ 2023-09-07 10:24 小鲨鱼2018 阅读(7) 评论(0) 推荐(0) 编辑