Created
December 9, 2009 19:25
-
-
Save altamic/252713 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================ | |
= SCREEN SHARING PROCEDURE = | |
============================ | |
Use (or customize) screenrc on: | |
http://gist.github.com/252539 | |
Friend must have a UNIX account @hostname | |
reachable through ssh | |
= Host: user@hostname = | |
======================= | |
$ chmod +s /usr/bin/screen | |
$ screen -S shared_session | |
= Client = | |
========== | |
$ ssh friend@hostname | |
$ screen -x user/shared_session | |
SCREEN COMMANDS | |
=============== | |
Ctrl+A c # create a new window | |
Ctrl+A N # go to the window N (with N in 0..9) | |
Ctrl+A n # go to the next window | |
Ctrl+A k # kill current window | |
Ctrl+A d # detach current session | |
screen -r # attach to an open session | |
Credits to http://news.softpedia.com/news/GNU-Screen-Tutorial-44274.shtml | |
Thanks to Oliver Laumann for creating GNU screen and to | |
Wayne Davison, Juergen Weigert and Michael Schroeder for the latest version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment