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

shell 564

#Shell
shell脚本删除特定时间的备份文件

#author admin@zhizhi123.com #欢迎访问 back.zhizhi123.com #!/bin/sh backup_dir=/alidata/www/sh/…

2015-08-08 610

#Shell
Windows平台下采用PowerShell语言重写Oracle数据库exp全备脚本,根据时间保留备份数及自动上备份至FTP

# Author: Edward.Zhou -- <edgeman_03@163.com> # Purpose: Windows平台下采用PowerShell使用exp…

2015-08-08 229

#Shell
mydumper备份数据库脚本

#!/bin/bash #ocpyang@126.com ########脚本说明 #1.默认读取当前目录下database.txt文件,备份部分数据库 #2.如果database…

2015-08-07 353

#Shell
windows 批处理全自动定时修改日期为周6周1

goto code ================================================== 这里是注释区,随便浪吧 系统日期自动从周6改为周日 htt…

2015-08-05 878

#Shell
linux下整合运维的bash脚本(不完整代码)(分享学习用)

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

2015-08-05 209

#Shell
nginx启动shell脚本

思路:nginx启动后会有nginx.pid文件在指定位置下,通过判断该文件是否存在。决定nginx是否已经启动。 #!/bin/bash #this is my first tr…

2015-08-05 728

#Shell
postgres profile

#~/.bash_profile PATH=$PATH:/opt/htt/pgsql/bin:/opt/htt/pgpool/bin export PGPORT=5432 expo…

2015-08-04 973

#Shell
在指定时间内不停刷新目录下文件的时间戳

#!/bin/sh #Usage : run script under certain directory, to keep files under this directory …

2015-08-04 175

#Shell
Windows CMD 跨分区切换路径

cd /d D:\Workspace

2015-08-03 641

#Shell
一个shell脚本,实现利用OpenSSL生成X509证书

一个shell脚本,实现利用OpenSSL生成X509证书 #!/bin/bash # # Copyright (C) 2015 Nicolas TANDE # # This pr…

2015-08-02 810

#Shell
centos 里postfix + dovecot配置文件实例

## 不懂的直接 vim /etc/postfix/main.cf 然后复制下面代码到你的服务器上,修改下相应的IP与域名即可 #=========================…

2015-08-01 992

#Shell
用awk实现类似excel中vlookup函数的功能

由于excel中的vlookup函数的效率实在是太低了,哥们我做数据处理的,忍受不了了。 所以自己用脚本开发一个类似的功能。 代码如下: vlookup.sh内容 #!/bin/c…

2015-07-31 630
1 14 15 16 17 18 47