Sunday, November 25, 2012

Beginning of line in UNIX screen session


As you know every "screen" command begins with "Ctrl-a", then how to go to beginning of the line when you are working under a "screen" UNIX session (which we achieve by "Ctrl-a" in a normal UNIX session) ?

Solution:
Under a "screen" UNIX session you can do "Ctrl-a a" to move to the beginning of the line.

So in order to print ^A (hex: \x01) in a UNIX "screen" session, usual  "Ctrl-v Ctrl-a" will not work, you will type "Ctrl-v Ctrl-a a" to print ^A.

Related posts:
- Save command without executing it in Bash history
- Ctrl s freezes UNIX shell and vi editor
- UNIX - prevent exit of shell with Ctrl-d
- Print UNIX command line history with time-stamp of command execution

No comments:

© Jadu Saikia www.UNIXCL.com