Shell – Go to Beginning of Line Inside a Screen

gnu-screenkeyboard shortcutslinux

I am inside a screen (screen -Ra). I have a long command, and I am at the end. Instead of keeping the left arrow, how can you go to the beginning of the line?

CTRL-A works when I am in a normal window, but when I am inside a screen pressing CTRL-A gives me a message "No other window" – seems like CTRL-A is dispatched to the screen.

How do you go to the beginning of a line in a screen?

Best Answer

Use Ctrl-a a, or change screen's escape keystroke (option -e).

Related Question