上一页 1 ··· 53 54 55 56 57 58 59 60 61 ··· 367 下一页
摘要: 001、区别1 usb2.0通常黑色或者白色; usb3.0通常为蓝色或者橙色 002、区别2 usb2.0通常4针脚; usb3.0通常9针脚 003、区别3 usb2.0速度慢; usb3.0速度快,且兼容usb2.0 004、区别4 usb2.0供电弱; usb3.0供电强。 阅读全文
posted @ 2023-09-11 18:55 小鲨鱼2018 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test01]# ls ## 测试文件 a.txt test01 test02 test03 [root@pc1 test01]# find ./ -type f -exec ls -l {} \; ## 列出文件大小 -rw-r--r--. 1 root root 2 阅读全文
posted @ 2023-09-11 11:18 小鲨鱼2018 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test01]# cat a.txt A:10 B:5 C:12 [root@pc1 test01]# cat b.txt 100 A 50 B 88 K 99 Y 42 C [root@pc1 test01]# awk '{if(NR == FNR) {ay[$1] 阅读全文
posted @ 2023-09-08 13:48 小鲨鱼2018 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 001、 正确做法 [root@pc1 test01]# ls a.txt b.txt [root@pc1 test01]# cat a.txt A:10 B:5 C:12 [root@pc1 test01]# cat b.txt 100 A 50 B 42 C [root@pc1 test01]# 阅读全文
posted @ 2023-09-08 13:25 小鲨鱼2018 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 001、 方法1 [root@pc1 test01]# ls a.txt b.txt [root@pc1 test01]# cat a.txt A:10 B:5 C:12 [root@pc1 test01]# cat b.txt 100 A 50 B 42 C [root@pc1 test01]# 阅读全文
posted @ 2023-09-08 12:44 小鲨鱼2018 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: 001、 -F 指定 [root@pc1 test01]# ls a.txt [root@pc1 test01]# cat a.txt a:b:c 3:8:k f:6:3 [root@pc1 test01]# awk -F ":" '{print $1}' a.txt a 3 f 002、-v FS 阅读全文
posted @ 2023-09-08 12:28 小鲨鱼2018 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(37) 评论(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) 编辑
摘要: 001、 [root@pc1 test02]# ls a.txt test.sh [root@pc1 test02]# cat a.txt ## 测试数据 ATCCAGCT GGGCAACT ATGGATCT AAGCAACC TTGGAACT ATGCCATT ATGGCACT [root@pc1 阅读全文
posted @ 2023-09-06 17:57 小鲨鱼2018 阅读(8) 评论(0) 推荐(0) 编辑
上一页 1 ··· 53 54 55 56 57 58 59 60 61 ··· 367 下一页