Does anybody out there know the linux keyboard shortcut for skipping words in a command prompt. e.g.,
$ locate pdf | xargs -i ls -l {} | grep something
I'd like to scroll through the command by word by word rather than the default letter by letter.
|
Does anybody out there know the linux keyboard shortcut for skipping words in a command prompt. e.g., $ locate pdf | xargs -i ls -l {} | grep something I'd like to scroll through the command by word by word rather than the default letter by letter. | |||
|
feedback
|
This question came from our site for system administrators and desktop support professionals.
|
In bash you can use CTRL combined with the left and right arrows or ALT combined with F or B. See keyboard shortcuts, or readline shortcuts. | |||||
|
feedback
|
|
In addition to Zoredache's answer, you can find out the full list of keyboard shortcuts currently available for bash by issuing the command:
Additionally, if you're more used to vi-style bindings than emacs-style, you can switch with:
and switch back with
| |||
|
feedback
|