action=`ping -c 20 -W 1 192.168.1.1 | grep received | awk '{print $4}'` if [ $action -eq 0…
#!/bin/bash #定义此脚本存在的目录(根部目录) shelldir='backup' #定义数据库账户 user='root' #定义数据库用户密码 password='…
#!/bin/bash echo "-- Mount all locate disks to this path --" test -d Setup || mkdir Setup …
Class CdoMail ' 定义公共变量,类初始化 Public fso, wso, objMsg Private Sub Class_Initialize() Set fso…
netstat -nt | awk '{print $6}' | sort | uniq -c | sort -n -k 1 -r
#!/bin/sh #expans all the macro in source file INCLUDE="" #get all the header files direct…
#!/bin/bash if [ $# -ne 2 ]; then echo "Usage: $0 directory. \nExample:$0 ./apple ./proces…
#!/bin/bash start_date="$1" end_date=`date -d "+1 day $2" +%Y%m%d` --可以改成自己适用的格式 while [[ …
ffmpeg.exe -i IMG_1137.MOV -f mpegts -ar 48000 -ab 64k -s 1280x720 -vcodec libx264 -x264op…
@echo off echo Setting Mingw-w64 Environment ::Check Your System,Must Win64 if /i "%PROCES…
#!/bin/echo Warning: This library should be sourced : << EOF 常用库 EOF #定义终端颜色 functio…
@echo off rem 工具路径 set JAVA_HOME = "C:\Program Files\Java\jdk1.8.0_05" set ANT_HOME = "D:\…
VIM实现F5运行php/perl/python/c/java/erlang