发布时间:2019-10-30 19:57:10
startDate="20191001";endDate="20191030";dayTime=`date -d "$startDate -1 days" "+%Y-%m-%d"`while [[ $ dayTime < $endDate ]]do dayTime=`date -d "$ dayTime +1 days " "+%Y-%m-%d"` #echo sh start.sh $ dayTime file.........【阅读全文】
发布时间:2019-06-18 21:10:02
path=$1arrs=(20190618)for ip in ${arrs[@]};do tmp=$path$ip filelist=`ls $tmp` for file in $filelist do echo $path$file if test -f $file then echo $file is file else.........【阅读全文】
发布时间:2019-01-23 20:03:27
一、新建用户//登录Mysql@>mysql -u root -p@>密码//创建用户mysql> insert into mysql.user(Host,User,Password)values('localhost','test',password('test123'));//刷新系统权限表mysql>flush privileges;这样就创建了一个名为:test密码为:test123 的用户。二、登录测试mysql>exit;@>mysql -u cplusplus -.........【阅读全文】