Ubuntu terminal, How do I "tab" (autocomplete) a filename window-cmd-style(cycle options)?

Basically i want to change ubuntu terminal functionally, so that i can cycle thru all the options when i tab(on the cmd line row) and not list the options as it is per default?

Im using bash, ubuntu 9.04. I see some possibilities in ".bashrc", but there must be someone out there who already solved this problem?


Solution 1:

According to the comments on this page, putting

bind '"\t":menu-complete'

in your .bashrc should enable cyclic tab completion.

See section 8.4.6 of the Bash Reference Manual for more information.