摘要:
vim /sbin/service#!/bin/sh. /etc/init.d/functions #读取环境变量.VERSION="$(basename $0) ver. 0.91" #"service[获取的第一个参数] ver. 0.91"对应后面的"service -V"USAGE="Us... 阅读全文
摘要:
ip="192.168.5.166"ssh $ip -o StrictHostKeyChecking=no //ssh登陆不用输入"yes"port="26092"pid=`netstat -anlp|grep $port|awk '{print $7}'|awk -F"/" '{prin... 阅读全文