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

shell 564

#Shell
苹果电脑升级到el captain之后编译时出现missing xcrun解决办法

#!/bin/bash gem sources --remove https://rubygems.org/ gem sources -a https://ruby.taobao.…

2015-07-30 872

#Shell
MYSQL日常管理脚本

#!/bin/env bash ##########################################################################…

2015-07-30 127

#Shell
gcc 简单用例

/* gcc 简单讲解和常用参数解析 .a 静态库 (archive) .c C源代码(需要编译预处理) .h C源代码头文件 .i C源代码(不需编译预处理) .o 对象文件 .…

2015-07-30 744

#Shell
git 实现的网站版本发布回退同步脚本

#!/bin/bash #author sunbx@funshion.com #date 2013-10-10 #远程服务器git仓库创建,以及对上游版本库的注册 # projec…

2015-07-28 877

#Shell
puppet3源码批量安装脚本

#!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export…

2015-07-27 173

#Shell
Powershell访问SQL Server数据库查询返回结果集

function Invoke-SQL { param( [Parameter(Mandatory=$true)] $sql = "select * from Kunden", […

2015-07-26 773

#Shell
通过环境变量永久修改CMD PROMPT

@echo off ::通过环境变量永久修改CMD PROMPT.bat ::依山居 2:09 2015/10/31 ::等效命令prompt " o( ̄▽ ̄)o $d$t <…

2015-07-26 444

#Shell
windows系统配制wget计划任务

set ws=wscript.createobject("wscript.shell") ws.run "xxx.bat /start",0

2015-07-26 330

#Shell
Mysql大表的水平切分

#!/bin/bash user="" password="" database="" table="" rows=$(mysql -u$user -p$password $dat…

2015-07-26 123

#Shell
解决osc项目不支持空目录的问题

find ./ -type d -empty -exec touch {}/keep.txt \; find ./ -tpye f -name *.a -exec svn add …

2015-07-25 955

#Shell
扫描一台主机的多个端口

for /l %a in (1,1,65535) do start /low /min telnet 192.168.0.1 %a

2015-07-24 124

#Shell
autohotkey循环鼠标点击,输入(AHK脚本)

ag: loop 150 { Sleep 4000 Random, m1, 400, 600 Random, m2, 300, 400 MouseMove, m1, m2 Slee…

2015-07-23 477
1 15 16 17 18 19 47