Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get out of 'screen' without typing 'exit'?

I screen -r'd into a Django server that's running and I can't simply Ctrl + C and exit out of it.

Are there any alternative ways to get out of screen?

Currently, I manually close the tab on my local PC and ssh back in, but that's becoming tiresome.

like image 517
meder omuraliev Avatar asked Jan 31 '11 04:01

meder omuraliev


People also ask

How do you escape from screen?

Press Esc. The Esc key, also known as the Escape key, helps you exit a mode or stop a sequence. You can find the Esc key on the top-left-corner of your keyboard. In some apps like media players or computer games, the Esc key also allows you to exit full screen mode.

What is the command to detach from screen?

On the command prompt, type screen . Run the desired program. Use the key sequence Ctrl-a + Ctrl-d to detach from the screen session. Reattach to the screen session by typing screen -r .


1 Answers

Ctrl-a d or Ctrl-a Ctrl-d. See the screen manual # Detach.

like image 190
ephemient Avatar answered Oct 22 '22 13:10

ephemient