<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Caged Mantis &#187; *nix</title>
	<atom:link href="http://www.cagedmantis.com/category/nix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cagedmantis.com</link>
	<description>A systems engineer working on his development skills.</description>
	<lastBuildDate>Sun, 25 Jul 2010 12:40:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Linux Screen command</title>
		<link>http://www.cagedmantis.com/2009/01/06/linux-screen-command/</link>
		<comments>http://www.cagedmantis.com/2009/01/06/linux-screen-command/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 04:45:32 +0000</pubDate>
		<dc:creator>Carlos Amedee</dc:creator>
				<category><![CDATA[*nix]]></category>

		<guid isPermaLink="false">http://www.cagedmantis.com/?p=29</guid>
		<description><![CDATA[I often find myself wanting to make changes to an application while I am also tailing the logs in order to view my changes in action. Up until recently I would start up two separate ssh sessions in order to accomplish this task. Of course I never bothered to think that this may be a [...]]]></description>
			<content:encoded><![CDATA[<p>I often find myself wanting to make changes to an application while I am also tailing the logs in order to view my changes in action.  Up until recently I would start up two separate ssh sessions in order to accomplish this task.  Of course I never bothered to think that this may be a common task which many people before me would seek to solve.  Luckly I discovered the screen command.  The screen command allows you to split your ssh session into various different sessions.</p>
<p>If your machine does not have screen installed, don&#8217;t fret&#8230;.</p>
<p>Debian/Ubuntu</p>
<blockquote><p>sudo apt-get install screen</p></blockquote>
<p>Redhat/Fedora</p>
<blockquote><p>sudo yum install screen</p></blockquote>
<p>Now that we have screen installed we can run some simple commands which will prove to be valuable:</p>
<p>Start up the screen application:</p>
<blockquote><p>screen</p></blockquote>
<p>Split the session into two:</p>
<blockquote><p>Control+a S</p></blockquote>
<p>Change over to the second session:</p>
<blockquote><p>Control+a tab</p></blockquote>
<p>Start the shell in the second session:</p>
<blockquote><p>Control+a c</p></blockquote>
<div id="attachment_33" class="wp-caption aligncenter" style="width: 410px"><img src="http://www.cagedmantis.com/wp/wp-content/uploads/2009/01/screen.jpg" alt="screen application" title="screen" width="400" height="438" class="size-full wp-image-33" /><p class="wp-caption-text">screen application</p></div>
<p>You can switch between the sessions by typing:</p>
<blockquote><p>Control+a tab</p></blockquote>
<p>You can find additional commands by using the man command or <a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=s/screen">looking up the commands on the internet</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cagedmantis.com/2009/01/06/linux-screen-command/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
