Screen: Difference between revisions
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
screen -d -r | screen -d -r | ||
The -d will dettach any "attached" screens and -r will reattach your screen. | The -d will dettach any "attached" screens and -r will reattach your screen. | ||
Note that if you have more than one screen session available, you will need to specify the screen id you wish to open. | |||
=== Killing screen === | === Killing screen === | ||
Line 35: | Line 37: | ||
===More commands=== | ===More commands=== | ||
A long list of screen commands can be found here: http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=s/screen | A long list of screen commands can be found here: http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=s/screen | ||
[[Category:Humour]] | [[Category:Humour]] |
Revision as of 10:46, 26 October 2007
Basics
Opening
screen
This will open a new screen session
Creating windows
When you start screen, it presents you with one default window.
ctrl + a + c
This keybinding will open a new window (window 2) inside screen.
Switching windows
If you have more than one window open, you can switch between them using.
ctrl + a + a
or using
ctrl + a + window_number
or using
ctrl + a + n ctrl + a + p
to go forward, or back.
Detaching screen
The beauty of screen is that it can remain running when you are logged out, therefor allowing you to run time consuming processes in the background. Dettach using
ctrl + a + d
Reattaching screen
To reattach an allready detached screen, use.
screen -d -r
The -d will dettach any "attached" screens and -r will reattach your screen.
Note that if you have more than one screen session available, you will need to specify the screen id you wish to open.
Killing screen
Often enough new members (and people like goldfish) will make mistakes with screen. To kill screen altogether and start over
ctrl + a + \
More commands
A long list of screen commands can be found here: http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=s/screen