摘要: 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) 编辑