Small Tip - make your tab completion case insensitive

You may know that if you have a directory called

My-Documents

and you want to change to it, you have to do something like this

cd My-[TAB]

And you will end with the full command like this.

cd My-Documents

But, if you do this

cd my-[TAB]

You will probable hear the system's beep and nothing else, because Linux is case sensitive, if you want to be able to use TAB with capital letter or without it, add this line to /etc/inputrc, or to $HOME/.inputrc

set completion-ignore-case on

Now it will work with the capital My-Doc... or without it as in my-doc ...

Comments

That's just the way Windows does it!

I'm so glad you posted this, because I was missing all my favourite Windows methods of doing things.

Now I don't have to worry about Case-Sensitive filenames anymore!

Why can't that be fixed in the Linux Operating System to be more like Windows Case-Insensitivity? Somebody ought to talk the the programmers about this!