shell
不说话的卡卡西
勤奋治学 深度思考 静心钻研 先苦后甜
面向对象OO = 面向对象分析OOA + 面向对象设计OOD + 面向对象编程OOP + 面向切面编程 AOP
展开
-
shell脚本顺序执行和并发执行
https://blog.csdn.net/wangzhufei/article/details/87932048Shell-使用&和wait让你的脚本并行执行https://artisan.blog.csdn.net/article/details/87691890原创 2022-03-13 21:14:49 · 795 阅读 · 0 评论 -
传递公钥文件实现无密码登录
传递公钥文件实现无密码登录#!/bin/bashx=`cat .ssh/id_rsa.pub`ip=$1password=$2if [ ! -f "/root/.ssh/id_rsa.pub" ];then echo "文件不存在"expect <<EOF set timeout -1 spawn ssh-keygen -t rsa expect { "Enter file in which to save the key (/root/.ssh/i原创 2022-02-27 22:19:45 · 212 阅读 · 0 评论