The trick to do nohup and be able to enter username and passwd etc. is to go into C-Shell, csh. I usually use an advanced C-Shell called "tcsh". This is the exact steps:
$ tcsh $ cd <to the directory>(Where the startWebLogic.sh locates) $ nohup ./startWebLogic.sh
<enter user name and passwd if asked> <Press Ctrl-Z to suspend it after all the starting messages have been displayed>
[code="java"]但是如果终端关闭,那么程序也会被关闭。但是为了能够后台运行,那么我们就可以使用nohup这个命令,[/code][code="java"] The trick to do nohup and be able to enter username and passwd etc. is to go into C-Shell, csh. I usually use...