244
edits
No edit summary |
mNo edit summary |
||
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 do this, you just detach from screen instead of exiting it. To detach from screen without exiting, use the following command: | |||
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. When you "minimise" screen or make it invisible, it is called detaching it. | |||
To do this, you just detach from screen instead of exiting it. To detach from screen without exiting, use the following command: | |||
ctrl-a d | ctrl-a d | ||
Line 76: | Line 79: | ||
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: | Later, you'll come back online and want to reattach to your screen session. When you "maximise" screen or bring it back onto your terminal, this is known as attaching. To reattach a detached screen, use this command at the prompt: | ||
screen -dr | screen -dr | ||
The -d will detach any | The -d will detach 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. You'll be given a list of the currently available screens, so then you type: | If you have more than one screen session available, you will need to specify the screen id you wish to open. You'll be given a list of the currently available screens, so then you type: |
edits