Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to move to the end of line in screen linux

If CTRL+A+a is how you move to the beginning of a line in screen then what is the shortcut key to go to end of the line aside from the End key in screen.

I tried CTRL+A + I like in vim. no luck.

Also OT: if you exit a shell will the session persist?

like image 234
ruggedbuteducated Avatar asked May 22 '13 09:05

ruggedbuteducated


People also ask

How do I go to the end of the line in Ubuntu terminal?

Ctrl+E. This shortcut does the opposite of Ctrl+A. It moves the cursor to the end of the line. I always use the Ctrl+A and Ctrl+E shortcuts to quickly move my cursor around the current line while typing long or chained commands.

How do you go to the end of a line in bash?

Ctrl+E or End: Go to the end of the line.

What is Ctrl R in Linux?

If you're using the modern bash shell, then you can use Ctrl+R as a keyboard shortcut to search through your command history. You can bring up commands that you used previously and issue them over again. This might work in other shells as well, such as if you're using ksh in emacs mode.


2 Answers

CTRL + E will take you to the end of the line.

like image 66
Matheno Avatar answered Sep 21 '22 17:09

Matheno


SHIFT+HOME and SHIFT+END both work on my 104 key keyboard in screen and regular sessions.

OT: Closing the window does not kill your screen session, even when it's active. Typing exit during the screen session will kill it.

like image 38
jgrundstad Avatar answered Sep 21 '22 17:09

jgrundstad