<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: nohup Execute Commands After You Exit From a Shell Prompt</title> <atom:link href="http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: haberler</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-175698</link> <dc:creator>haberler</dc:creator> <pubDate>Wed, 16 Nov 2011 17:58:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-175698</guid> <description>is it available in centos dist&#039;s ? l will search for more manuals :) thanks for sharing</description> <content:encoded><![CDATA[<p>is it available in centos dist&#8217;s ? l will search for more manuals :) thanks for sharing</p> ]]></content:encoded> </item> <item><title>By: Richard</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-173558</link> <dc:creator>Richard</dc:creator> <pubDate>Thu, 25 Aug 2011 23:01:07 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-173558</guid> <description>Thank you very much, excellent article</description> <content:encoded><![CDATA[<p>Thank you very much, excellent article</p> ]]></content:encoded> </item> <item><title>By: sameer oak</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-173539</link> <dc:creator>sameer oak</dc:creator> <pubDate>Thu, 25 Aug 2011 05:34:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-173539</guid> <description>&gt; Aggdata September 3, 2010
&gt; Hi There
&gt; My nohup keeps ending with “Cancel request sent”
&gt; nohup Scriptfile.ksh &gt; Scriptlog.log 2&gt;&amp;1 &amp;
&gt; this happens even when I nohup it as you can see above
&gt; Any help would be much appreciated
[ sameeroak ]
try the following:
nohup &gt; /dev/null 2&gt;&amp;1 Scriptfile.ksh &gt; Scriptlog.log &amp;</description> <content:encoded><![CDATA[<p>&gt; Aggdata September 3, 2010<br
/> &gt; Hi There<br
/> &gt; My nohup keeps ending with “Cancel request sent”<br
/> &gt; nohup Scriptfile.ksh &gt; Scriptlog.log 2&gt;&amp;1 &amp;<br
/> &gt; this happens even when I nohup it as you can see above<br
/> &gt; Any help would be much appreciated<br
/> [ sameeroak ]<br
/> try the following:<br
/> nohup &gt; /dev/null 2&gt;&amp;1 Scriptfile.ksh &gt; Scriptlog.log &amp;</p> ]]></content:encoded> </item> <item><title>By: Carlo</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-170900</link> <dc:creator>Carlo</dc:creator> <pubDate>Mon, 25 Apr 2011 13:43:48 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-170900</guid> <description>Try also.
Ctrl + z
bg</description> <content:encoded><![CDATA[<p>Try also.</p><p>Ctrl + z<br
/> bg</p> ]]></content:encoded> </item> <item><title>By: Jair L.</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-170438</link> <dc:creator>Jair L.</dc:creator> <pubDate>Sat, 02 Apr 2011 12:07:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-170438</guid> <description>You may find the results of the executed script or command executed with nohup, visiting nohup.out file generated automatically.</description> <content:encoded><![CDATA[<p>You may find the results of the executed script or command executed with nohup, visiting nohup.out file generated automatically.</p> ]]></content:encoded> </item> <item><title>By: Mahendra Kumar</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-170361</link> <dc:creator>Mahendra Kumar</dc:creator> <pubDate>Tue, 29 Mar 2011 06:49:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-170361</guid> <description>Could any one tell me what are the expected outputs of a nohup command ? If any script / job fails or successful, what are the outcome of this command ?</description> <content:encoded><![CDATA[<p>Could any one tell me what are the expected outputs of a nohup command ? If any script / job fails or successful, what are the outcome of this command ?</p> ]]></content:encoded> </item> <item><title>By: Erlon</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-165197</link> <dc:creator>Erlon</dc:creator> <pubDate>Wed, 22 Dec 2010 21:20:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-165197</guid> <description>How can a trigger a remote command via ssh command line??
Like:
ssh root@machine &quot;nohup /home/test/scripts/qemu-vio &amp;&quot;
In the command above, the program qemu-vio doent run in backgroung. Why?? How can I do that??</description> <content:encoded><![CDATA[<p>How can a trigger a remote command via ssh command line??<br
/> Like:<br
/> ssh root@machine &#8220;nohup /home/test/scripts/qemu-vio &amp;&#8221;</p><p>In the command above, the program qemu-vio doent run in backgroung. Why?? How can I do that??</p> ]]></content:encoded> </item> <item><title>By: George Anderson</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-160944</link> <dc:creator>George Anderson</dc:creator> <pubDate>Wed, 10 Nov 2010 23:40:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-160944</guid> <description>Thank you for the disown tip. Very nice article!
George.</description> <content:encoded><![CDATA[<p>Thank you for the disown tip. Very nice article!</p><p>George.</p> ]]></content:encoded> </item> <item><title>By: Aggdata</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-159304</link> <dc:creator>Aggdata</dc:creator> <pubDate>Fri, 03 Sep 2010 16:28:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-159304</guid> <description>Hi There
My nohup keeps ending with &quot;Cancel request sent&quot;
nohup Scriptfile.ksh &gt; Scriptlog.log 2&gt;&amp;1 &amp;
this happens even when I nohup it as you can see above
Any help would be much appreciated</description> <content:encoded><![CDATA[<p>Hi There<br
/> My nohup keeps ending with &#8220;Cancel request sent&#8221;</p><p>nohup Scriptfile.ksh &gt; Scriptlog.log 2&gt;&amp;1 &amp;</p><p>this happens even when I nohup it as you can see above</p><p>Any help would be much appreciated</p> ]]></content:encoded> </item> <item><title>By: ashah</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-157011</link> <dc:creator>ashah</dc:creator> <pubDate>Fri, 02 Jul 2010 16:36:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-157011</guid> <description>Question: I started a nohup foo &amp; . Now I want to stop it... is there a way to end the process even though I &#039;nohupped&#039; it prior?
The process had an error and stopped running, but I am still logged into the server even after I close my SSH terminal.
Thanks in advance!</description> <content:encoded><![CDATA[<p>Question: I started a nohup foo &amp; . Now I want to stop it&#8230; is there a way to end the process even though I &#8216;nohupped&#8217; it prior?</p><p>The process had an error and stopped running, but I am still logged into the server even after I close my SSH terminal.</p><p>Thanks in advance!</p> ]]></content:encoded> </item> <item><title>By: Russell</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-156433</link> <dc:creator>Russell</dc:creator> <pubDate>Wed, 09 Jun 2010 21:53:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-156433</guid> <description>Thanks! I needed a shell script to run a program, without it closing as soon as the script was over!</description> <content:encoded><![CDATA[<p>Thanks! I needed a shell script to run a program, without it closing as soon as the script was over!</p> ]]></content:encoded> </item> <item><title>By: Solaris</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-149456</link> <dc:creator>Solaris</dc:creator> <pubDate>Sun, 12 Jul 2009 15:21:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-149456</guid> <description>I found these two methods googling:
Method 1:
- start the process from console
- send it to background CTRL + Z
- then disown -a
Method 2:
nohup command</description> <content:encoded><![CDATA[<p>I found these two methods googling:</p><p>Method 1:<br
/> - start the process from console<br
/> - send it to background CTRL + Z<br
/> - then disown -a</p><p>Method 2:<br
/> nohup command</p> ]]></content:encoded> </item> <item><title>By: billyduc</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-149254</link> <dc:creator>billyduc</dc:creator> <pubDate>Wed, 01 Jul 2009 10:07:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-149254</guid> <description>I have the situation...
I did ssh to the remote server. Run the yum -y update command without nohup!
The updating run for a while and I want to log out off the remote server...and I want yum still run even I log out..
How can I use &#039;nohup&#039; without canceling my update !
thanks for any suggestions !!</description> <content:encoded><![CDATA[<p>I have the situation&#8230;<br
/> I did ssh to the remote server. Run the yum -y update command without nohup!<br
/> The updating run for a while and I want to log out off the remote server&#8230;and I want yum still run even I log out..<br
/> How can I use &#8216;nohup&#8217; without canceling my update !<br
/> thanks for any suggestions !!</p> ]]></content:encoded> </item> <item><title>By: Dan Grindstaff</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148941</link> <dc:creator>Dan Grindstaff</dc:creator> <pubDate>Fri, 12 Jun 2009 20:27:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148941</guid> <description>Hi and thanks for the reply. I am seeing error messages that files cannot be found that I know are present in a different folder (where it should be looking). That is what concerned me that I might have forced the process to look only in it&#039;s current directory with &quot;./&quot;. When I get the prompt back I can ps and see the job running.</description> <content:encoded><![CDATA[<p>Hi and thanks for the reply. I am seeing error messages that files cannot be found that I know are present in a different folder (where it should be looking). That is what concerned me that I might have forced the process to look only in it&#8217;s current directory with &#8220;./&#8221;. When I get the prompt back I can ps and see the job running.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148939</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Fri, 12 Jun 2009 19:05:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148939</guid> <description>What kind of error you get in log files? When you get prompt back what do you see with ps and jobs command?</description> <content:encoded><![CDATA[<p>What kind of error you get in log files? When you get prompt back what do you see with ps and jobs command?</p> ]]></content:encoded> </item> <item><title>By: Dan Grindstaff</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148938</link> <dc:creator>Dan Grindstaff</dc:creator> <pubDate>Fri, 12 Jun 2009 16:54:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148938</guid> <description>I just checked with my Unix admin who thinks that it does not matter whether you include the ./ in the nohup string.  Also, If I hit return during the process I get my prompt back and can run a monitoring script.</description> <content:encoded><![CDATA[<p>I just checked with my Unix admin who thinks that it does not matter whether you include the ./ in the nohup string.  Also, If I hit return during the process I get my prompt back and can run a monitoring script.</p> ]]></content:encoded> </item> <item><title>By: Dan Grindstaff</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148937</link> <dc:creator>Dan Grindstaff</dc:creator> <pubDate>Fri, 12 Jun 2009 16:10:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148937</guid> <description>Thanks for the reply.  Yes command is in current directory but nohup log lists several complaints about not being able to find various files.  Also, when executing, I was expecting to be returned to the command prompt which I was not.</description> <content:encoded><![CDATA[<p>Thanks for the reply.  Yes command is in current directory but nohup log lists several complaints about not being able to find various files.  Also, when executing, I was expecting to be returned to the command prompt which I was not.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148936</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Fri, 12 Jun 2009 16:05:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148936</guid> <description>./ means run command from current directory. Do you have command in current dir?</description> <content:encoded><![CDATA[<p>./ means run command from current directory. Do you have command in current dir?</p> ]]></content:encoded> </item> <item><title>By: Dan Grindstaff</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148935</link> <dc:creator>Dan Grindstaff</dc:creator> <pubDate>Fri, 12 Jun 2009 15:56:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148935</guid> <description>I used nohup as follows... nohup ./command &amp;.  Did I make a mistake in putting the &quot;./&quot; in front of the command when executing it?</description> <content:encoded><![CDATA[<p>I used nohup as follows&#8230; nohup ./command &amp;.  Did I make a mistake in putting the &#8220;./&#8221; in front of the command when executing it?</p> ]]></content:encoded> </item> <item><title>By: Justin</title><link>http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148377</link> <dc:creator>Justin</dc:creator> <pubDate>Thu, 30 Apr 2009 08:12:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html#comment-148377</guid> <description>Thanks.  Excellent for those lengthy commits!</description> <content:encoded><![CDATA[<p>Thanks.  Excellent for those lengthy commits!</p> ]]></content:encoded> </item> </channel> </rss>
