Shortcuts to move the cursor on a terminal command line
Ctrl + a : Moves the cursor to the line start.
.
Ctrl + e : Moves the cursor to the line end (remember e for end).
Alt + f : Moves the cursor forward one word (remember f for forward) .
Alt + b : Moves the cursor backward one word (remember b for backward) .
Ctrl + x + x: Moves the cursor to the line start and to the end again.
More details:
https://en.wikipedia.org/wiki/GNU_Readline
0 comments:
Post a Comment