496
edits
Line 67: | Line 67: | ||
=== Detaching and reattaching screen === | === Detaching and reattaching screen === | ||
One of the most popular features of screen is that it can keep you logged in even when you're offline. This means you can leave programs running or even stay on IRC even when you're not online. To this, you just detach from screen instead of exiting it. To detach from screen without exiting, use the following command: | |||
ctrl-a d | |||
You'll then be returned to the prompt with a message telling you screen has been detached, like so: | |||
[[Image:screen5.jpg]] | |||
Later, you'll come back online and want to reattach to your screen session. To reattach a detached screen, use this command at the prompt: | |||
screen -dr | |||
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. | ||
If you have more than one screen session available, you will need to specify the screen id you wish to open. To find out these ids, run this: | |||
screen -ls | |||
You'll be given a list of the currently available screens. | |||
=== Killing screen === | === Killing screen === |
edits