Contents
To resume screen you can use screen -r commmand from the terminal. you will get the screen where you left before. To exit from this screen you can use ctrl+d command or type exit on command line. That is the most basic command to start, detach and exit from screen.
How do you reattach to an attached screen?
To detach, type “C-a d” (That’s control+a, release both keys, press ‘d’.) . To reattach, type screen -dr . If you close your ssh connection without detaching, or lose your network connection: run screen -dr.
How do I view screen sessions in Linux?
Basic Screen Usage
- From the command prompt, just run screen. …
- Run your desired program.
- Detatch from the screen session using the key sequence Ctrl-a Ctrl-d (note that all screen key bindings start with Ctrl-a). …
- You can then list the available screen sessions by running “screen -list”