linux nginx 启动脚本 [root@webtest76 ~]# vi /etc/init.d/nginx #!/bin/bash # nginx Startup script for the Nginx HTTP Server # this script create it by jackbillow at . # it is v. version. # if you find any errors on this scripts,please contact jackbillow.
切换root至oracle数据库账号 su – oracle 查看数据库服务状态: ps -ef |grep oracle netstat –an|grep 1521 查看数据库监听状态: [oracle@dbsrv ~]$ lsnrctl status LSNRCTL - Production on -NOV- :: Copyright (c) , , Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTO
###########################启动########################### #!/bin/sh ####定义一个函数在当前文件夹下读取所有jar文件 function read_all_jar(){ ###循环for do done for file in `ls $1` do ###如果是文件夹,递归调用此函数 if [ -d $1"/"$file ] then read_all_jar $1"/"$file ####是文件,