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

shell 564

#Shell
WGET版递归爬虫命令

wget -c -r -np -L -A zip,gz http://mirrors.cnnic.cn/apache/activemq/apache-activemq/

2015-11-22 945

#Shell
备份infobright数据库

#!/bin/bash #Author Castle Liu #Date 2014-05-28 _BACKUP_DIR='/data/backup/IB/' _BACKUP_NAM…

2015-11-22 143

#Shell
数据备份至百度云盘

@echo 完成网站网站 "d:\soft\rar.exe" a -agyyyymmddhh -p123456 -r -ibck D:\baiduyun\网站文件备份\websit…

2015-11-21 400

#Shell
windows下管理nginx启动、关闭

@echo off rem 当前bat的作用 echo ==================begin======================== cls SET NGINX_…

2015-11-21 732

#Shell
CentOS 7 shell安装JDK Tomcat

#!/bin/bash # shell script to install jdk # 1. remove openjdk if exists. for i in $(rpm -q…

2015-11-20 915

#Shell
网上扒的查看网卡流量的shell

#!/bin/bash # osdba 2008.10.22 monitor the interface's network traffic. # Zeuslion 2009.0…

2015-11-19 467

#Shell
英文系统启动中文Netbeans 命令行

"C:\Program Files\NetBeans 8.0\bin\netbeans64.exe" --locale zh:CN

2015-11-18 856

#Shell
批处理输出格式化时间字符串

For /F "Tokens=1-7 Delims=/:. " %%d In ("%Date%%Time%") Do Set Now=%%e%%f%%g%%h%%i%%j Echo…

2015-11-17 844

#Shell
Linux删除重复行

# !/bin/sh file='test.txt' sort -n $file | uniq sort -n $file | awk '{if($0!=line)print; l…

2015-11-17 194

#Shell
我的GO语言的VIM配置

set nocompatible " be iMproved, required filetype off " required " set the runtime path to…

2015-11-17 804

#Shell
批量清空当前目录中所有log文件中的内容

for i in `find . -name "*.log"`; do cat /dev/null >$i; done 或者 for i in `find . -name "…

2015-11-14 354

#Shell
查看ip

#!/bin/sh ifconfig|grep "inet"|grep -o -E "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"…

2015-11-14 296