This question already has an answer here:

I wondered if theres a way to do rotational style completion in bash similar to the behavoir on cmd.exe, I've found it speeds me up in regard to entering commands

marked as duplicate by Kevin Panko, Tog, Shekhar, Heptite, David Jan 21 '14 at 3:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from stackoverflow.com Dec 15 '10 at 15:29

This question came from our site for professional and enthusiast programmers.

  • 2
    is there any way of making cmd.exe's behaviour more similar to bash. I make less mistakes in bash because it doesnt pick the wrong file. – justintime Dec 16 '10 at 22:32

In your ~/.inputrc file, add:

"\C-i": menu-complete

to re-read that file so it takes effect in the current shell, press Ctrl-x Ctrl-r.

  • This was really useful for my blind friend. Normal bash tab completion is useless with a screen reader; this makes it useable. – CajunLuke Feb 16 '11 at 5:05
  • reset would probably work too... – Hello71 Apr 19 '11 at 2:28
  • 1
    @Hello71: reset affects the terminal, not bash. – Dennis Williamson Apr 19 '11 at 13:11
  • 3
    @KoMet: bind 'set completion-ignore-case on' at a prompt or in ~/.bashrc or set completion-ignore-case on in ~/.inputrc. – Dennis Williamson Jul 11 '12 at 14:11
  • 1
    @KoMet: You're welcome. Upvotes are always appreciated. – Dennis Williamson Jul 11 '12 at 14:35

That won't be a very meaningful answer, but you have answer here: