14. Bash Shell - Cursor Movement
Contents
We can quickly move the cursor to a specific location with the shortcut key provided by the shell.
Move cursor to the new line
We can move the cursor to the beginning of the new line:
|
|
Move cursor to the beginning
We can move the cursor to the beginning of the line:
|
|
Move cursor to the end
We can move the cursor to the end of the line:
|
|
Move cursor forward a char
We can move the cursor to the next char:
|
|
Move cursor backward a char
We can move the cursor to the previous char:
|
|
Move cursor forward a word
We can move the cursor to the end of the word:
|
|
Move cursor backward a word
We can move the cursor to the the first char of the word:
|
|
Clear the screen
We can clear the screen:
|
|
References 8.4.1 Commands For Moving
Author Dong Chen
LastMod Fri Feb 15 2019