I want to make sure that when I use cd “directoryname”. the directory name should be case insenstive.
cd directoryname and cd DirectoryName should give me the correct answer.
I saw this example.
# If ~/.inputrc doesn't exist yet: First include the original /etc/inputrc # so it won't get overriden if [ ! -a ~/.inputrc ]; then echo '$include /etc/inputrc' > ~/.inputrc; fi # Add shell-option to ~/.inputrc to enable case-insensitive tab completion echo 'set completion-ignore-case On' >> ~/.inputrc
I put this in a .sh file and call RUN sh ./CaseInsensitive.sh
sh: /root/.inputrc: unknown operand
If this question is answered please direct me to the correct thread.
Thanks a bunch.