Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using GNU Bash 4.2.5 with fedora 18.

Whenever I'm typing something into the shell say


I get an annoying error sound, I then have to press tab again to view the auto-complete suggestions, I was wondering if it's possible to make it so that instead of throwing me an error the first time and making a bell/ping sound, it directly prints auto complete suggestions the first time I hit tab.

I still want to have the "Display all 172 possibilities?[y/N]" like warnings available.

I don't know how I can customize bash behaviour so, since I've never attempted something like this before, so please bear with me.

share|improve this question

Basic customization of bash's completion behavior can be performed by modifying various readline variables in ~/.inputrc. See the bash(1) man page, READLINE section, Readline Variables subsection, for details.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.