I’m new to Linux/Ubuntu. To my knowledge it’s not possible to make file or folder with only difference in case e.g. I can’t create the files Text.ini
and text.ini
(well you can but it will not work, it gives you an error), so why does the terminal care about case when you write path to something e.g. cd folder/folder
but if the second folder
starts with capital F then command doesn’t work?
In Windows it doesn’t matter with capital letters or not it works, so is there any way for the terminal to ignore case if the names are correct?
Text.ini
andtext.ini
are indeed two different files.touch Text.ini text.ini
, this will create these files and not throw any error because file (and directory) names are case-sensitive. To my knowledge there’s no easy way to change that behaviour. Are you asking for a way for just thebash
shell to ignore case in filenames?