<?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: How to close a telnet session without terminating the foreground process which is running</title>
	<atom:link href="http://www.expertsheaven.com/how-to-close-a-telnet-session-without-terminating-the-foreground-process-which-is-running/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.expertsheaven.com/how-to-close-a-telnet-session-without-terminating-the-foreground-process-which-is-running/</link>
	<description>Invent, Innovate and Inspire</description>
	<lastBuildDate>Fri, 21 May 2010 21:23:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Frederick Tybalt</title>
		<link>http://www.expertsheaven.com/how-to-close-a-telnet-session-without-terminating-the-foreground-process-which-is-running/comment-page-1/#comment-637</link>
		<dc:creator>Frederick Tybalt</dc:creator>
		<pubDate>Sat, 22 Aug 2009 13:17:50 +0000</pubDate>
		<guid isPermaLink="false">http://howto.expertsheaven.com/?p=100#comment-637</guid>
		<description>@karlberg74,
This can be done directly, here we go

$ nohup script1.ksh &amp;

This will directly run the script at background and the script will be alive even if the session is closed</description>
		<content:encoded><![CDATA[<p>@karlberg74,<br />
This can be done directly, here we go</p>
<p>$ nohup script1.ksh &#038;</p>
<p>This will directly run the script at background and the script will be alive even if the session is closed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karlberg74</title>
		<link>http://www.expertsheaven.com/how-to-close-a-telnet-session-without-terminating-the-foreground-process-which-is-running/comment-page-1/#comment-369</link>
		<dc:creator>karlberg74</dc:creator>
		<pubDate>Sun, 02 Aug 2009 12:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://howto.expertsheaven.com/?p=100#comment-369</guid>
		<description>Hi,

I know it&#039;s been a long time since the last reply,

Is there a way to put a script automatically in the background from the get go?

Start the script (it is put automatically in the background) and then close the telnet session with nothing else to do?

Thanks for your time.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I know it&#8217;s been a long time since the last reply,</p>
<p>Is there a way to put a script automatically in the background from the get go?</p>
<p>Start the script (it is put automatically in the background) and then close the telnet session with nothing else to do?</p>
<p>Thanks for your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frederick Tybalt</title>
		<link>http://www.expertsheaven.com/how-to-close-a-telnet-session-without-terminating-the-foreground-process-which-is-running/comment-page-1/#comment-154</link>
		<dc:creator>Frederick Tybalt</dc:creator>
		<pubDate>Fri, 07 Nov 2008 03:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://howto.expertsheaven.com/?p=100#comment-154</guid>
		<description>&lt;strong&gt;@Julien,&lt;/strong&gt;
This holds good with SSH too..

&lt;strong&gt;@uygar,&lt;/strong&gt;
Good... This too works...</description>
		<content:encoded><![CDATA[<p><strong>@Julien,</strong><br />
This holds good with SSH too..</p>
<p><strong>@uygar,</strong><br />
Good&#8230; This too works&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uygar</title>
		<link>http://www.expertsheaven.com/how-to-close-a-telnet-session-without-terminating-the-foreground-process-which-is-running/comment-page-1/#comment-153</link>
		<dc:creator>uygar</dc:creator>
		<pubDate>Fri, 07 Nov 2008 00:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://howto.expertsheaven.com/?p=100#comment-153</guid>
		<description>If you use &#039;ssh&#039; instead of telnet, you can use the &#039;screen&#039; command for that. In order to start a script in the background use:

$ screen
//A new screen is created

$ ./script.sh
//Press Ctrl+A+D in order to detach the session, script still continues

In order to monitor the script later on, use screen command with -ls and -r options, such that:

To list all the screens:
$ screen -ls

To re-attach a previously started screen use:

$ screen -r #screen-id</description>
		<content:encoded><![CDATA[<p>If you use &#8216;ssh&#8217; instead of telnet, you can use the &#8216;screen&#8217; command for that. In order to start a script in the background use:</p>
<p>$ screen<br />
//A new screen is created</p>
<p>$ ./script.sh<br />
//Press Ctrl+A+D in order to detach the session, script still continues</p>
<p>In order to monitor the script later on, use screen command with -ls and -r options, such that:</p>
<p>To list all the screens:<br />
$ screen -ls</p>
<p>To re-attach a previously started screen use:</p>
<p>$ screen -r #screen-id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.expertsheaven.com/how-to-close-a-telnet-session-without-terminating-the-foreground-process-which-is-running/comment-page-1/#comment-152</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 06 Nov 2008 21:54:15 +0000</pubDate>
		<guid isPermaLink="false">http://howto.expertsheaven.com/?p=100#comment-152</guid>
		<description>The nohup with fedora does not support -p.</description>
		<content:encoded><![CDATA[<p>The nohup with fedora does not support -p.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien CROUZET</title>
		<link>http://www.expertsheaven.com/how-to-close-a-telnet-session-without-terminating-the-foreground-process-which-is-running/comment-page-1/#comment-151</link>
		<dc:creator>Julien CROUZET</dc:creator>
		<pubDate>Thu, 06 Nov 2008 21:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://howto.expertsheaven.com/?p=100#comment-151</guid>
		<description>God man ... We&#039;re in 2008 who use telnet ???
And you can do nohup command &amp;</description>
		<content:encoded><![CDATA[<p>God man &#8230; We&#8217;re in 2008 who use telnet ???<br />
And you can do nohup command &amp;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
