I use xterm with screen for my day to day needs. SO often I open several terminals in screen (using Ctrl+c). Later I have to close each of them my typing

$ exit

I was wondering is there any key binding in screen which will save me from the trouble of typing exit, that I just press that combination and terminal will close (only terminal not whole screen session).

I tried kill (Ctrl+K) but that kills the terminal which is very much different from exit (correct me if I am wrong).

So what would you suggest? Thanks for your time.s

asked 25 Jun '10, 02:57

user-729's gravatar image

user-729
120138
accept rate: 75%




You can quit all shells like a Gnome Terminal, login shell, ssh shell even shells created with suor sudo via the following key command:
Ctrl+D

This will work in screen, too.

If you want to close all sessions of screen, just type
Ctrl+A Ctrl+\

Source: screen Manpage

link

answered 25 Jun '10, 04:48

guerda's gravatar image

guerda
5533515
accept rate: 38%

You can just type: CTRL + d

link

answered 25 Jun '10, 04:03

SmallBoxAdmin's gravatar image

SmallBoxAdmin
131
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×8

Asked: 25 Jun '10, 02:57

Seen: 9,497 times

Last updated: 25 Jun '10, 04:48

powered by OSQA