What Does This Command Means - "Nohup. /Standalone. Sh -B 0.0.0.0 &"?

I have a heavy application running on jboss-7.1.1 on linux server. I came across this command to start the jboss "nohup ./standalone.sh -b 0.0.0.0 &". But i want to understand more about this command line. Also the nohup.out file size keeps on increasing day by day. Is it due to the command line that i executed to start the jboss. Is there any way to avoid nohup.out to get created.

1

2 Answers

nohup

nohup makes the following command immune to the SIGHUP signal. It detaches the command from the terminal. When a terminal is closed, any process (or commands) running in the terminal are sent the SIGHUP (hang-up) signal and then die.

This means that if the terminal screen is closed (the terminal from where ./standalone.sh is started), standalone.sh remains running. It is detached from it's terminal.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.