In the CLI, you can use shortcut keys to make editing commands
a little easier:
- backspace, del, left/right arrow keys: they allow you to edit a
command line.
- up/down arrow keys: they select a command from a history of
commands that you have used recently. The up-arrow key
goes up in history (more ancient), and the down-arrow key
goes down in history (more recent).
- tab: you can use the tab key to perform ``file name
completion''. This means if you have a file called
abcdefgh.txt in the current directory, you can
type abc, then use the tab key so the CLI completes
the entire filename for you. If there are multiple files
starting with abc, you can press tab one more time to
list all such files.
Copyright © 2005-12-10 by Tak Auyeung