Solved

Nohup question

Posted on 2008-06-12
1
315 Views
Last Modified: 2010-05-18
What will happen if i use this

nohup ./startup.sh &

command instead of this :

./startup.sh
0
Comment
Question by:jaisonshereen
1 Comment
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 21770452
normally, when you run a process it is linked to  your login terminal and login shell. When you logout, the system sends kill signal to all processes linked to the login shell which results in terminating them.

The nohup command will disassociate the process from the login shell and hence when logout will not receive such kill signal and will continue to run after the logout. The & will put it in background.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
What You Need to Know when Searching for a Webhost Provider
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question