Difference between revisions of "Screen"
From MyWiki
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | Reference: http://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/<br> | ||
+ | |||
Create a seccion : screen -S sessionname<br> | Create a seccion : screen -S sessionname<br> | ||
To create a new interactive shell, press Control-a c <br> | To create a new interactive shell, press Control-a c <br> | ||
To switch between shells, press Control-a # where # is the number of the shell. For example, to switch to shell number 1, press Control-a 1 <br> | To switch between shells, press Control-a # where # is the number of the shell. For example, to switch to shell number 1, press Control-a 1 <br> | ||
+ | screen -d -R sessionname will resume a session that you started in a different location. <br> | ||
+ | Control-a ? will give help inside of screen.<br> | ||
+ | You can detach from the window using “Ctrl-a” “d”.<br> | ||
+ | If your connection drops or you have detached from a screen, you can re-attach by just running: screen -r |
Latest revision as of 00:12, 2 May 2015
Reference: http://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/
Create a seccion : screen -S sessionname
To create a new interactive shell, press Control-a c
To switch between shells, press Control-a # where # is the number of the shell. For example, to switch to shell number 1, press Control-a 1
screen -d -R sessionname will resume a session that you started in a different location.
Control-a ? will give help inside of screen.
You can detach from the window using “Ctrl-a” “d”.
If your connection drops or you have detached from a screen, you can re-attach by just running: screen -r