<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.brandon-rodriguez.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FScreen</id>
	<title>Linux/Screen - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.brandon-rodriguez.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FScreen"/>
	<link rel="alternate" type="text/html" href="https://wiki.brandon-rodriguez.com/index.php?title=Linux/Screen&amp;action=history"/>
	<updated>2026-05-07T12:57:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.brandon-rodriguez.com/index.php?title=Linux/Screen&amp;diff=255&amp;oldid=prev</id>
		<title>Brodriguez: Brodriguez moved page Linux Screen to Linux/Screen: Clean url with subpages</title>
		<link rel="alternate" type="text/html" href="https://wiki.brandon-rodriguez.com/index.php?title=Linux/Screen&amp;diff=255&amp;oldid=prev"/>
		<updated>2020-05-15T08:53:29Z</updated>

		<summary type="html">&lt;p&gt;Brodriguez moved page &lt;a href=&quot;/Linux_Screen&quot; class=&quot;mw-redirect&quot; title=&quot;Linux Screen&quot;&gt;Linux Screen&lt;/a&gt; to &lt;a href=&quot;/Linux/Screen&quot; title=&quot;Linux/Screen&quot;&gt;Linux/Screen&lt;/a&gt;: Clean url with subpages&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:53, 15 May 2020&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key dev_wiki:diff::1.12:old-75:rev-255 --&gt;
&lt;/table&gt;</summary>
		<author><name>Brodriguez</name></author>
	</entry>
	<entry>
		<id>https://wiki.brandon-rodriguez.com/index.php?title=Linux/Screen&amp;diff=75&amp;oldid=prev</id>
		<title>Brodriguez: Create page</title>
		<link rel="alternate" type="text/html" href="https://wiki.brandon-rodriguez.com/index.php?title=Linux/Screen&amp;diff=75&amp;oldid=prev"/>
		<updated>2019-10-13T23:30:43Z</updated>

		<summary type="html">&lt;p&gt;Create page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Screen is a &amp;quot;terminal multiplexer&amp;quot;. Essentially, it allows a user to access multiple, separate terminal sessions inside a single terminal window.&amp;lt;br&amp;gt;&lt;br /&gt;
It&amp;#039;s extremely useful for launching server applications on startup, allowing access to and interaction with the application later on.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Screen is automatically installed on most Ubuntu setups.&amp;lt;br&amp;gt;&lt;br /&gt;
If screen is not already installed, then it can be installed with:&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo apt install screen&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Starting a Session ==&lt;br /&gt;
To start a basic session, run:&lt;br /&gt;
* &amp;lt;code&amp;gt;screen&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start a named session, run:&lt;br /&gt;
* &amp;lt;code&amp;gt;screen -S &amp;lt;session_name&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using a Screen Session ==&lt;br /&gt;
From inside a session, hit &amp;lt;code&amp;gt;ctrl + a&amp;lt;/code&amp;gt; to be able to adjust the session with the following commonly used args:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;?&amp;#039;&amp;#039;&amp;#039; - Display list of possible screen commands.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039; - Create a new virtual console session inside screen.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;quot;&amp;#039;&amp;#039;&amp;#039; - List all open virtual consoles.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; - Switch to next available virtual console.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;#039; - Switch to previous virtual console.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;Number Keys 0 through 9&amp;gt;&amp;#039;&amp;#039;&amp;#039; - Open the virtual console corresponding to the number.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; - Rename current virtual console.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;d&amp;#039;&amp;#039;&amp;#039; - Detach from screen session, bringing the standard terminal back up.&lt;br /&gt;
** Current screen session will still continue the the background.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;k&amp;#039;&amp;#039;&amp;#039; - Kill current virtual console.&lt;br /&gt;
** Ex: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; will open virtual console 0.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;Esc Key&amp;gt;&amp;#039;&amp;#039;&amp;#039; - Go back to standard terminal output in current virtual console.&lt;br /&gt;
&lt;br /&gt;
== Reattaching to an Existing Screen Session ==&lt;br /&gt;
Once detached from a screen session (using above &amp;#039;&amp;#039;&amp;#039;d&amp;#039;&amp;#039;&amp;#039; command), reattach with:&lt;br /&gt;
* &amp;lt;code&amp;gt;screen -r&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are multiple screen sessions up, use the following to list them all:&lt;br /&gt;
* &amp;lt;code&amp;gt;screen -ls&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The number at the start should be the session ID. Attach to the desired session ID with:&lt;br /&gt;
* &amp;lt;code&amp;gt;screen -r &amp;lt;session_ID&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Customizing Screen ==&lt;br /&gt;
When started, screen will read in values from &amp;lt;code&amp;gt;/etc/screenrc&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;~/.screenrc&amp;lt;/code&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
Open the associated files and adjust values as desired.&lt;/div&gt;</summary>
		<author><name>Brodriguez</name></author>
	</entry>
</feed>