上一页 1 ··· 120 121 122 123 124 125 126 127 128 ··· 403 下一页
摘要: 001、在远程服务器终端生成公钥和私钥 [root@PC1 ~]# ssh-keygen -t rsa ## 执行该命令 Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/i 阅读全文
posted @ 2023-05-13 18:27 小鲨鱼2018 阅读(731) 评论(0) 推荐(1)
摘要: 001、型号 [root@PC1 test]# cat /proc/cpuinfo | grep name | cut -f 2 -d: | uniq -c 6 12th Gen Intel(R) Core(TM) i5-12500H 6: 总核心数 12th:12代处理器 Gen:genunie, 阅读全文
posted @ 2023-05-13 11:49 小鲨鱼2018 阅读(264) 评论(0) 推荐(0)
摘要: 001、总内存 [root@PC1 test]# free -h total used free shared buff/cache available Mem: 3.7G 830M 1.8G 38M 1.1G 2.5G Swap: 3.9G 0B 3.9G 002、总硬盘 [root@PC1 te 阅读全文
posted @ 2023-05-13 11:22 小鲨鱼2018 阅读(152) 评论(0) 推荐(0)
摘要: 001、 投递该任务 (base) [b20223040323@admin1 test]$ ls a.txt record.sh (base) [b20223040323@admin1 test]$ cat a.txt ## 循环配置文件 1 1000000000 2 500000000 (base 阅读全文
posted @ 2023-05-13 08:52 小鲨鱼2018 阅读(46) 评论(0) 推荐(0)
摘要: 001、双引号 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt 1 2 3 4 5 [root@PC1 test]# awk '{print $0, "\""}' a.txt ## 输出双引号 1 " 2 " 3 " 4 " 5 " 002、 阅读全文
posted @ 2023-05-12 16:56 小鲨鱼2018 阅读(977) 评论(0) 推荐(0)
摘要: 001、直接修改PATH环境变量 [root@PC1 plink]# ls ## 软件目录 LICENSE plink plink_linux_x86_64_20230116.zip prettify toy.map toy.ped [root@PC1 plink]# pwd ## 路径 /home 阅读全文
posted @ 2023-05-12 16:40 小鲨鱼2018 阅读(120) 评论(0) 推荐(0)
摘要: ubuntu中默认进入目录后默认显示的路径是完整路径。 01,将其设置为最终的路径:basename (base) root@DESKTOP-IDT9S0E:~# cp ~/.bashrc ~/.bashrc.bak ## 避免意外,备份配置文件 (base) root@DESKTOP-IDT9S0 阅读全文
posted @ 2023-05-12 11:48 小鲨鱼2018 阅读(426) 评论(0) 推荐(0)
摘要: export命令扩大了变量的作用范围。 001、 root@DESKTOP-IDT9S0E:/home/test# ls a.txt record.sh root@DESKTOP-IDT9S0E:/home/test# cat a.txt ## 测试文件 01 02 03 04 05 06 07 0 阅读全文
posted @ 2023-05-12 09:00 小鲨鱼2018 阅读(63) 评论(0) 推荐(0)
摘要: 001、 root@DESKTOP-IDT9S0E:/home/test# ls a.txt b.csv c.ped xx root@DESKTOP-IDT9S0E:/home/test# cat a.txt 1 2 3 4 5 6 7 8 9 10 root@DESKTOP-IDT9S0E:/ho 阅读全文
posted @ 2023-05-12 08:52 小鲨鱼2018 阅读(31) 评论(0) 推荐(0)
摘要: 001、限定匹配a3次 root@DESKTOP-IDT9S0E:/home/test# ls a.txt root@DESKTOP-IDT9S0E:/home/test# cat a.txt ## 测试数据 1 takkkkkk 2 taakkkkk 3 taaakkkk 4 33333333 5 阅读全文
posted @ 2023-05-11 10:15 小鲨鱼2018 阅读(353) 评论(0) 推荐(0)
上一页 1 ··· 120 121 122 123 124 125 126 127 128 ··· 403 下一页