GNU/screen: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< GNU
Notes: screen -r
m more smw
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
[[page type::article]]
[[page type::article]]
[[thing type::software]]
[[thing type::software]]
[[software type::virtual console]]
[[part of::GNU]]
[[part of::GNU]]
[[category:software]]
</hide>
</hide>
==About==
==About==
'''GNU Screen''' is a [[GNU]] [[command line]] application which lets you create and access virtual terminal sessions.
'''GNU Screen''' is a [[GNU]] [[command line]] application which lets you create and access virtual terminal sessions.
Local manpage: {{l/manpage|screen}}
==Notes==
==Notes==
From outside screen:
From outside screen:
Line 11: Line 15:
* <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)
I haven't been able to figure out how to connect to a session other than the most recent one.
* If Screen refuses to connect to a specified session, that may be because it's already "attached" &ndash; use <code>screen -r -d {{arg|pid.tty.host}}</code> to detach it first if necessary.


From within screen:
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}}

Latest revision as of 10:25, 28 April 2018

<hide> page type::article thing type::software software type::virtual console part of::GNU </hide>

About

GNU Screen is a GNU command line application which lets you create and access virtual terminal sessions.

Local manpage: screen

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)

Reference