【Weblogic】启动命令nohup解析

nohup ./startWebLogic.sh >out.log 2>&1 & 解析

其中 0、1、2分别代表如下含义: 0 – stdin (standard input) 1 – stdout (standard output) 2 – stderr (standard error)

nohup ./startWebLogic.sh >out.log 2>&1 &

nohup+最后面的& 是让命令在后台执行

>out.log 是将信息输出到out.log日志中

2>&1 是将标准错误信息转变成标准输出,这样就可以将错误信息输出到out.log 日志里面来。

posted @ 2017-08-22 14:17  云染纯白月  Views(779)  Comments(0Edit  收藏  举报