随笔分类 -  脚本

摘要:1 #!/bin/bash 2 echo ' ' 3 echo '注:非以下4个IP外(输入000查看其他IP),需输入俩次,首次登陆IP时弹出yesORno,选择YES即可' 4 # cc.txt中可以加入常用登陆IP,无需全部都加,也可以将IP加到脚本里; 5 # bb.txt为登陆后的常用路径 阅读全文
posted @ 2022-11-01 11:02 yeahzxw 阅读(51) 评论(0) 推荐(0)
摘要:1 #!/bin/bash 2 3 #NO.1 4 MONTH=`date +%Y%m` #当前月份 5 MONTHDAY=`date +%Y%m%d` #当天 6 DATEONE=`date -d "1 day ago" +"%Y%m%d"` #当前一天前一天 7 NEWDIR=/home/app 阅读全文
posted @ 2022-11-01 11:02 yeahzxw 阅读(44) 评论(0) 推荐(0)
摘要:1 [appop@VM-16-13-centos scripts]# cat riduizhang.sh 2 #!/bin/bash 3 ################################################# 4 #yeahzxw 5 #20220620 6 #月对账文件 阅读全文
posted @ 2022-11-01 10:59 yeahzxw 阅读(41) 评论(0) 推荐(0)
摘要:1 Const HKEY_CURRENT_USER = &H80000001 2 3 4 5 strComputer = "." 6 7 8 9 Set objReg = GetObject("winmgmts:" &"{impersonationLevel=impersonate}\\"&strC 阅读全文
posted @ 2022-11-01 10:58 yeahzxw 阅读(58) 评论(0) 推荐(0)
摘要:1 #!/bin/bash 2 ################ 3 #name:yeahzxw # 4 #date:20220301 # 5 ################ 6 7 MONTH=`date +%Y%m` #当前月份 8 MONTHDAY=`date +%Y%m%d` #当天 9 阅读全文
posted @ 2022-11-01 10:56 yeahzxw 阅读(37) 评论(0) 推荐(0)
摘要:1 [root@VM-16-13-centos learn]# sh fun02.sh www.baidu.com 2 www.baidu.com url [ OK ] 3 4 5 [root@VM-16-13-centos learn]# cat fun02.sh 6 #!/bin/bash 7 阅读全文
posted @ 2022-11-01 10:51 yeahzxw 阅读(47) 评论(0) 推荐(0)