Shell

Auto-Completion

Use the Tab key to complete a command or list all available completions. If a command or path is uniquely specified with the previously typed characters, pressing the tab key will complete it automatically. Otherwise it will show the list of potential completions.

Use the Arrow Up/Down Key to scroll through your command history.

Another auto-completion option for the up/down arrows is to search for the closest match in the command history. When you type a prefix of a command on the terminal the up/down arrows will only show the commands in the history that match the prefix.

The latter feature is not available for the bash shell, which is the default shell on most Linux distributions. To enable the above history completion, you need to set the shell of your terminal to tcsh and add the following lines to the tcsh resource file .tcshrc in your home directory (~), which contains commands to be processed upon tcsh startup:

bindkey -k up history-search-backward
bindkey -k down history-search-forward


Programs | | Aliases

Options: