python修改阿里云ecs密码并启动停止
#!/usr/bin/env python #coding=utf-8 from aliyunsdkcore import client from aliyunsdkcore.acs_exception.exceptions import ClientException from al...
#!/usr/bin/env python #coding=utf-8 from aliyunsdkcore import client from aliyunsdkcore.acs_exception.exceptions import ClientException from al...
#!/bin/bash # Author rocdk890 PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:~/bin export PATH # Check if user is root if [ $(id -u) != "0" ]; then echo "Error: You ...
#!/bin/bash mysql_binfile=/usr/local/mysql/bin/mysql m...
#!/usr/bin/env python # coding=utf-8 from aliyunsdkcore import client from aliyunsdkecs.request.v20...
#!/bin/bash file=`find ./ -name "*.txt"` user="root" passwd="rocdk890" database="rocdk890" cat $file | while read line do num1=`echo $line |awk '{print $1}'` num2=`echo $line |awk '{print $2}'` num3=`echo...
#!/bin/bash musicPath=/root/music music="*.mp3" cd $musicPath mplayer -loop 0 $music #music="*.mp3 ../../下载/one night in 北京.mp3 ../../下载/怒放的生命.mp3" mplayerID=`ps...
标签: centos 升级 update unifi controller
cat >/etc/yum.repos.d/mongodb-org-3.2.repo<<EOF [mongodb-org-3.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc EOF
#!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:~/bin export PATH # Check the network status NET_NUM=`ping -c 4 www.baidu.com |awk '/packet loss/{print $6}' |sed -e 's/%//'` if [ ...