首页 软件开发 代码片段 shell ( Page 22 )

shell 564

#Shell
每日自动上传文件

@echo off set srcFile=c:\temp.src del %srcFile% echo open >"%srcFile%" echo 192.168.1.3…

2015-06-16 450

#Shell
shell脚本一键安装php扩展模块

#!/bin/bash #Program: # Accomplish to expand the specified function only one key #History:…

2015-06-16 241

#Shell
分析访问日志,qps

1 #!/bin/bash 2 # @File: qps.sh 3 # @Aim: 4 # @Author: Foyon 5 # @Created Time: 2014-04-23…

2015-06-14 598

#Shell
rtorrent批量添加magnetlink

#!/bin/bash cnt=1 cd /home/gyx/watch || exit # set your watch directory here cat 1.txt|whi…

2015-06-13 676

#Shell
Powershell分割文件

function split($inFile, $outPrefix, [Int32] $bufSize){ $stream = [System.IO.File]::OpenRea…

2015-06-12 304

#Shell
mysql 主从备份监控slave状态nagios脚本

#!/bin/bash cmd='mysql -uslave -ppasswd -P3306 -h 192.168.0.72 -Be' status=`$cmd 'show sla…

2015-06-08 679

#Shell
答“一句话的shell脚本,进行文件重命名需求”

rename 's/^\d+/$&+1/e' $(ls | sort -nr)

2015-06-08 753

#Shell
CPU预警shell脚本

#!/bin/bash #cpu idle percent cpu_idle=`top -b -d 1 -n 2 | grep Cpu | awk 'NR>1{print $…

2015-06-08 208

#Shell
win ngins php 启动重启关闭脚本

SET NGINX_PATH=D: SET NGINX_DIR=D:\web\nginx-1.3.11\ SET PHP_DIR=D:\web\php-5.4.11-nts-Win…

2015-06-07 135

#Shell
定时备份mysql数据库bat

@echo off echo. echo MySQL Backup >>F:\xxx\aa.log echo *****************************…

2015-06-07 297
1 20 21 22 23 24 47