@echo off rem create by sunhao(sunhao.java@gmail.com) rem crazy coder rem 这里写你的仓库路径 set RE…
#!/bin/bash cat /dev/stdin | while read -r line do for word in $line do /usr/bin/printf $w…
######################################################################### # File Name: ins…
#!/bin/sh # 执行脚本命令 "sh rt.sh 项目名" PRO_NAME=$1 #项目名 PRO_PID="" #项目进程ID PRO_PATH="/data/proj…
#!/sbin/bash export PATH=$PATH:/bin:/sbin:/usr/sbin #检查是否root用户执行 if [[ "$(whoami)" != "ro…
IP=`/sbin/ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print …
#!/bin/bash menu_choice="" current_cd="" title_file="title.cdb" tracks_file="tracks.cdb" t…
$now = Date; #当前时间加十年 $10year = $now.AddYears(10); $diff = $10year - $now; $money = 10513.…
Function Get-FileName($initialDirectory) { [System.Reflection.Assembly]::LoadWithPartialNa…
#!/bin/bash log_dir="/home/hosts_log" #日志目录 date_dir=`date -d "yesterday" +"%Y/%m/%d"` #备份…
#!/bin/sh # chkconfig: 345 86 14 # description: 启动,重启,停止nginx的shell脚本 NGINX_DIR=/opt/ngx e…
Linux动态监控tomcat日志,将新的数据输出到指定文件