Nohup

nohup ./my-shell-script.sh &
After you execute a command (or shell script) in the background using &, if you logout from the session, the command will get killed. To avoid that, you should use nohup as shown below.

0
By: ankush108
2012-06-26 19:43:42

What Others Think

[url=https://google.com]google[/url] google
Akshaj · 8 weeks and 5 days ago
Well, there wasn’t much here to read and I was looking forward to this post. I got to know about it from a site where I also got some content for my top essay writing.org reviews. It was an interesting and very informative site to visit to be honest.
Akshaj · 8 weeks and 5 days ago
Our reputation is proved by people from about 150 countries who buy our fake driver’s licenses online regularly and use them worldwide. http://2ndlicense.com/">Buy counterfeit euro notes online
Aaron12 · 7 weeks and 5 days ago
Our team is motivated and dedicated to providing you a seamless experience when it comes. csgo prime accounts
delhis · 5 weeks and 1 day ago
Our prior goal is to surpass all the expectations of our client by providing outstanding customer support service, greater value and increased flexibility which in results optimize system functionality and improve operation efficiency. erp vendors erp solution providers erp software company erp for supply chain management hospital information system
delhis · 5 weeks and 1 day ago
We are best Professional SEO, Digital Marketing, Web Designing and Web Development Company. best digital marketing agency in bangalore and PPC services in bangalore and seo expert in bangalore and social media marketing company in bangalore
delhis · 4 weeks and 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: