Difference between revisions of "GNU/screen"
< GNU
Jump to navigation
Jump to search
(→Notes: screen -r) |
(attaching to an attaches screen) |
||
Line 11: | Line 11: | ||
* <code>screen -ls</code> lists the available sessions. | * <code>screen -ls</code> lists the available sessions. | ||
* <code>screen -r {{arg|pid.tty.host}}</code> reconnects to the specified session (note: .host is optional) | * <code>screen -r {{arg|pid.tty.host}}</code> reconnects to the specified session (note: .host is optional) | ||
− | + | * If Screen refuses to connect to a specified session, that may be because it's already "attached" – use <code>screen -r -d {{arg|pid.tty.host}}</code> to detach it first if necessary. | |
− | From within | + | From within Screen: |
− | * <code>[CTRL-A] d</code> disconnects from the current session (but does not end it) | + | * <code>[CTRL-A] d</code> disconnects (detaches) from the current session (but does not end it) |
==Outlinks== | ==Outlinks== | ||
===Reference=== | ===Reference=== | ||
* {{wikipedia|GNU Screen}} | * {{wikipedia|GNU Screen}} |
Revision as of 22:34, 20 October 2015
About
GNU Screen is a GNU command line application which lets you create and access virtual terminal sessions.
Notes
From outside screen:
screen -R
reconnects to the most recently-created session.screen -ls
lists the available sessions.screen -r <pid.tty.host>
reconnects to the specified session (note: .host is optional)- If Screen refuses to connect to a specified session, that may be because it's already "attached" – use
screen -r -d <pid.tty.host>
to detach it first if necessary.
From within Screen:
[CTRL-A] d
disconnects (detaches) from the current session (but does not end it)