基本用法: enscript --color --language=html -E语言 Source文件 -o 输出文件 其中-E后面指定语言。 比如:enscript --col…
#!/bin/bash read -p "Please keyin the network segment: (e.g. 10.88.1) " farm for i in `seq…
function Get-MD5([System.IO.FileInfo] $file = $(throw 'Usage: Get-MD5 [System.IO.FileInfo]…
#!/bin/bash USERNAME="wxg4net@gmail.com" PWD="xxxxxxxxxxxxx" API_LOGIN_VALIDATE="http://ww…
#!/bin/bash #Author: Castle Liu #Date: 2014/06/04 #Desc: merge files from a given dir,file…
#!/bin/bash FROM_DIR=Study TO_DIR=Study-SRC echo "Searching..." file_list=(`find $FROM_DIR…
git rm -r --cached .idea/
CFG_LOCALSTATEDIR := /var/lib CFG_SYSCONFDIR := /etc CFG_DATADIR := /opt/arust/share CFG_I…
#!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export…
[root@hzvscmdb sql]# more check_connect_oracle.sh #!/bin/bash #functions: connect oracle s…
#! /bin/sh # 由于数组在shell函数中传递实在蛋疼,尤其是还包括其他参数时,所以干脆变量全部用全局变量 random_v=$RANDOM trap "rm -f /t…
#!/bin.bash for i in {1..10} do A=`head -c 500 /dev/urandom | tr -dc a-zA-Z | tr [a-z] [A-…
字符编码转换GBK to UTF-8 / UTF-8 to GBK