• Advertisements

Command Completion in shell

You can configure the tab key behavior in the shell e.g, if you press tab key, it should display all the options or it should only beep. The configuration file used for this purpose is located in /etc/inputrc

If you want the tab key to display all the available options (my preference), then add these lines to the file mentioned above.

set show-all-if-ambiguous on

If you know of any other use of this file, please let me know.

Powered by ScribeFire.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: