Motion Edit Commands

These commands will move the cursor.

[count]l Cursor forward (right) one character.
[count]w Cursor forward one alpha-numeric word.
[count]W Cursor to the beginning of the next word that follows a blank.
[count]e Cursor to end of word.
[count]E Cursor to end of the current blank delimited word.
[count]h Cursor backward (left) one character.
[count]b Cursor backward one word.
[count]B Cursor to preceding blank separated word.
[count]l Cursor to column 1 count.
[count]f c Find the next character c in the current line.
[count]F c Find the previous character c in the current line.
[count]t c Equivalent to f followed by h.
[count]T c Equivalent to F followed by l.
[count]; Repeats count times, the last single character find ...

Get Korn Shell: Unix and Linux Programming Manual, Third Edition, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.