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 · 75 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 · 75 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 · 74 weeks and 5 days ago
Our team is motivated and dedicated to providing you a seamless experience when it comes. csgo prime accounts
delhis · 72 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 · 72 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 · 71 weeks and 1 day ago
I curious more interest in some of them hope you will give more information on this topics in your next articles. http://fbmi.ae/"/>carpets dubai
arianna · 59 weeks and 3 days ago
Command lineuf has a website using for their codes to delete all the materialistic data which occurs problems. They are guiding codes that help in getting delete permanently. Join their website for all the information. https://buyarmodafinil.com/buy-smart-pills/modalert-200-mg-online/ Modalert 200 Tablet should be used with caution in patients with severe liver disease. Dose adjustment of Modalert 200 Tablet may be needed.
Latricia31 · 56 weeks and 2 days ago
Command lineuf has a website using for their codes to delete all the materialistic data which occurs problems. They are guiding codes that help in getting delete permanently. Join their website for all the information. https://buyarmodafinil.com/buy-smart-pills/modalert-200-mg-online/ Modalert 200 Tablet should be used with caution in patients with severe liver disease. Dose adjustment of Modalert 200 Tablet may be needed.
Latricia31 · 56 weeks and 2 days ago
i like thispost i like this[url=https://www.google.com/]post[/url]
saveed · 16 weeks and 4 days ago
Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. ?????
hammadamir90 · 14 weeks and 4 days ago
Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. http://residusofficial.com/">wearable fashion
hammadamir90 · 13 weeks and 3 days ago
Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. http://residusofficial.com/">wearable fashion
hammadamir90 · 13 weeks and 3 days ago
Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. [url=http://residusofficial.com/]wearable fashion[/url]
hammadamir90 · 13 weeks and 3 days ago
Your article has piqued a lot of positive interest. I can see why since you have done such a good job of making it interesting. http://www.pod1688.com/">????????????????
hammadamir90 · 9 weeks and 3 days ago
You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. http://www.pod1688.com/">??????????? pod
hammadamir90 · 9 weeks and 2 days ago
This is very educational content and written well for a change. It's nice to see that some people still understand how to write a quality post! http://www.pod1688.com/">????????????????
hammadamir90 · 9 weeks 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: