摘要:
#!/bin/bash echo -n {\"data\":[ i=0 for l in `cat /usr/local/zabbix/script/urllist.txt` do if [ "$i" = "0" ]; then echo -n "{\"{#DESTURL}\":\"$l\"}" else echo -n ",{\"{#DESTURL}\":\"$l\... 阅读全文
摘要:
1)/usr/local/src/datecrontalog.sh #!/bin/bash if [ $# -gt 1 ]; then istring='' #去掉回车 date=`date | tr -s ["\n"]` for (( i = 2; i <= $#; i++ )) do strin 阅读全文