上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 367 下一页
摘要: 001、 [root@PC1 test02]# ls a.txt [root@PC1 test02]# cat a.txt ## 测试数据 a 5 a 6 a 8 b 1 b 2 b 3 b 8 c 2 c 7 ## 输出第一列中各标签对应值的平均值 [root@PC1 test02]# awk ' 阅读全文
posted @ 2023-07-25 00:26 小鲨鱼2018 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@PC1 test02]# ls a.txt [root@PC1 test02]# cat a.txt ## 测试数据 3 21971 22579 21 9 46 3 21976 22553 38 118 45 3 21972 22609 44 9 47 3 21987 2253 阅读全文
posted @ 2023-07-24 21:41 小鲨鱼2018 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@PC1 test02]# ls a.txt [root@PC1 test02]# cat a.txt ## 测试数据 20 10 40 30 60 50 80 70 01 90 21 11 41 31 61 51 81 71 02 91 22 12 42 32 62 52 82 阅读全文
posted @ 2023-07-24 00:04 小鲨鱼2018 阅读(33) 评论(0) 推荐(0) 编辑
摘要: linux中 mkpasswd命令用于生成密码。 001、问题bash: mkpasswd: command not found... [root@PC1 test02]# mkpasswd bash: mkpasswd: command not found... 002、解决方法 [root@PC 阅读全文
posted @ 2023-07-23 23:53 小鲨鱼2018 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@PC1 test02]# ls a.txt [root@PC1 test02]# cat a.txt ## 测试数据 0102030405 0607080910 1112131415 [root@PC1 test02]# fold -w 2 a.txt ## 以两个字符为单位进 阅读全文
posted @ 2023-07-23 23:26 小鲨鱼2018 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 001、-d表示删除 [root@PC1 test02]# ls a.txt [root@PC1 test02]# cat a.txt ## 测试数据 a f k jH f k E 3j s 8 8 34 a j F ej [root@PC1 test02]# cat a.txt | tr -d 0 阅读全文
posted @ 2023-07-23 23:13 小鲨鱼2018 阅读(1157) 评论(0) 推荐(0) 编辑
摘要: 001、列 [root@PC1 test02]# ls a.txt [root@PC1 test02]# cat a.txt ## 测试数据 3 6 2 8 2 5 8 4 1 3 8 2 ## 统计每列数据之和 [root@PC1 test02]# awk '{for(i = 1; i <= NF 阅读全文
posted @ 2023-07-23 22:07 小鲨鱼2018 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 001、问题 linux 终端 ctrl + c无法终止当前程序 002、解决方法 01、ctrl + z: 让程序后台运行 02、找到该进程 03、kill -9 该进程名称或者号码 参考:https://blog.csdn.net/m0_67401382/article/details/1264 阅读全文
posted @ 2023-07-23 12:07 小鲨鱼2018 阅读(1369) 评论(0) 推荐(0) 编辑
摘要: 001、 library(ggplot2) p<-ggplot(mtcars,aes(mpg,hp,colour=factor(cyl)))+geom_point() p p+theme(axis.line.x=element_line(linetype=1,color="black",size=0 阅读全文
posted @ 2023-07-23 10:33 小鲨鱼2018 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 001、$RANDOM; $RANDOM用于生成0—32767的随机数 [root@PC1 test05]# echo $RANDOM 21160 [root@PC1 test05]# echo $RANDOM 17006 [root@PC1 test05]# echo $RANDOM 3979 0 阅读全文
posted @ 2023-07-22 15:46 小鲨鱼2018 阅读(599) 评论(0) 推荐(0) 编辑
上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 367 下一页