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

shell 564

#Shell
VS Cpp程序员给你的项目盘瘦身一下吧

@echo off del /s /q *.sdf del /s /q *.tlog del /s /q *.obj del /s /q *.lastbuildstate del …

2015-08-25 765

#Shell
backup a10 config

#!/bin/bash ################################################# # # script by Vincent yu # c…

2015-08-25 845

#Shell
Shell查询数据库,和发送邮件

sendmail.sh #!/bin/bash ################################################################# …

2015-08-25 264

#Shell
Linux Bash 处理“易语言难题”

#!/bin/bash # seesea2517#gmail#com for i in {1..9}{1..9}{1..9} do if echo $i | grep -E ".*…

2015-08-24 778

#Shell
简单的进程、磁盘、日志监测shell脚本

#!/bin/bas # #############################################################################…

2015-08-24 787

#Shell
创建目录结构和空文件

@echo off set source=D:\test set target=E:\my if not exists "%source%\" md "%target%" xcop…

2015-08-23 319

#Shell
windows批处理 -》 linux平台

echo off SET devID=*********** SET mutID=DUT4 @ECHO ON md c:\"%mutID%_%devID%_pull_LS" ech…

2015-08-22 591

#Shell
服务器信息 简单的信息收集脚本

#!/bin/sh #获取网卡名称 eth=$(/sbin/ifconfig |grep eth |awk '{print $1}'); #获取当前进出口流量 RXpre=$(ca…

2015-08-22 431

#Shell
mac os useful things: scripts shells doc

# 查看某个工具编译出来的时间 $(which appname) # 常用for循环 for i in 1 2 3 4 5; do echo "$i"; done; for((i=…

2015-08-21 537

#Shell
linux定时备份MySQL数据库并删除七天前的备份文件

#!/bin/bash # Name:bakmysql.sh # This is a ShellScript For&n…

2015-08-21 450

#Shell
yum服务器源同步

#!/bin/bash # ------------------------------- # Revision: # Date: 2012-12-11 # Author: sim…

2015-08-20 968

#Shell
nginx日志分割和mysql备份

#!/bin/bash #切割nginx日志文件, #并以昨天的日期命名 logs_path="/var/www/log" date=$(date -d "yesterday" +…

2015-08-19 879
1 12 13 14 15 16 47