Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running a java command:

java weblogic.Admin -adminurl t3://URL:POST -username username -password password START $SERVER &

on an Aix machine.

The problem is that the shell still halts until the command is completed. What should I do to make it return back to the terminal immediately.

share|improve this question
could you post the whole command line? – Mat May 15 '11 at 18:48
What happens if you press ctrl-z then? – Eduardo Ivanec May 15 '11 at 18:50

You need to add "nohup" to the beginning. SO, it would be something like:

nohup java weblogic.Admin -adminurl t3://URL:POST -username username 
-password password START $SERVER & echo $! > pid.txt
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.