RSS订阅个人笔记
你的位置:首页 » shell脚本
shell脚本

expect用法

#!/bin/bashrpm -qa|grep expect >/dev/null|| yum -y install expectpasswd=123456expect -c " spaw...

时间:2019-12--03 | 1629 浏览 | 0 评论 | 标签:

shell脚本

检测内网哪些ip未使用

#!/bin/bash#yang qq:2908190019#seq 1 254是执行ping ip从1到254if [ -f "/tmp/ipdown.txt" ];then  &n...

时间:2017-09--20 | 1326 浏览 | 0 评论 | 标签:

shell脚本

mysql自动备份脚本

#!/bin/bash#yangif [ -d /data/bak_mysql ]then    echo ok >/dev/nullelse    ...

时间:2017-09--11 | 1268 浏览 | 0 评论 | 标签:

shell脚本

ss5 dante 一键安装脚本

#!/bin/bash#yang 2017-7-10yum -y install wget gcc openssl-devel pcre-devel zlib-devel libtool c++ pam...

时间:2017-08--11 | 1441 浏览 | 0 评论 | 标签:

shell脚本

nfs服务器端和客户端一键安装

#!/bin/bash#yang 2016.6.21#nfs服务端一键安装脚本yum -y install nfs-utils rpcbind || exitread -p "is allow&...

时间:2017-08--11 | 1419 浏览 | 0 评论 | 标签:

shell脚本

centos samba一键安装脚本

#!/bin/bash#yang 2016-6-23#samba一键安装脚本 适用于centos5 6read -p "create new smb user:" smbuserread&nbs...

时间:2017-08--11 | 1793 浏览 | 0 评论 | 标签:

shell脚本

linux mysql root密码破解脚本

#!/bin/bash#yang#read -p 'set new mysql root password:' rootpw/etc/init.d/mysqld stopnohup mysqld_s...

时间:2017-08--11 | 1471 浏览 | 0 评论 | 标签:

shell脚本

svn一键安装脚本

#!/bin/bash#yang 2017-7-12#svn服务一键安装脚本  centos6echo +++++++++++++++++++++echo + svn server install+echo +...

时间:2017-08--11 | 1256 浏览 | 0 评论 | 标签:

shell脚本

rsync服务器端和客户端安装脚本

#!/bin/bash#yang 2016-6-21#rsync服务器端一键安装user=rsyncpassword=1qaz2wsx00#设置备份的路径/home/backup,可自行更改bakpath=/home/backupuseradd $user -...

时间:2017-08--11 | 1292 浏览 | 0 评论 | 标签:

shell脚本

centos服务器监控脚本

#!/bin/bash#yang 2017-7-7 QQ:1529263736#jian kongecho ----------------systeminfo----------------localIP=`ip addr|grep inet...

时间:2017-08--11 | 1277 浏览 | 0 评论 | 标签: