Screen: Difference between revisions

From Wiki
Jump to navigation Jump to search
Created page with '{{lowercase title}} http://www.rackaid.com/resources/linux-screen-tutorial-and-how-to/ The <code>screen</code> package is part of Ubuntu. To use it, log into a remote server wi…'
 
No edit summary
Line 5: Line 5:


To use it, log into a remote server with ssh and then type <code>screen</code>.  This is just another terminal window running in the same SSH session.
To use it, log into a remote server with ssh and then type <code>screen</code>.  This is just another terminal window running in the same SSH session.
See existing sessions:
<pre>
[root@gigan root]# screen -ls
There are screens on:
        31619.ttyp2.gigan      (Detached)
        4731.ttyp2.gigan        (Detached)
2 Sockets in /tmp/screens/S-root.
</pre>
Attach to existing session:
<pre>
[root@gigan root]# screen -r 31619.ttyp2.gigan
</pre>

Revision as of 19:00, 27 November 2012

http://www.rackaid.com/resources/linux-screen-tutorial-and-how-to/

The screen package is part of Ubuntu.

To use it, log into a remote server with ssh and then type screen. This is just another terminal window running in the same SSH session.

See existing sessions:

[root@gigan root]# screen -ls
There are screens on:
        31619.ttyp2.gigan       (Detached)
        4731.ttyp2.gigan        (Detached)
2 Sockets in /tmp/screens/S-root.

Attach to existing session:

[root@gigan root]# screen -r 31619.ttyp2.gigan