I've been following tutorials to edit .profile
, .bashrc
and .bash_profile
and I discovered that my computer has profile
, bashrc
and .bash_profile
files instead.
i.e. Only the .bash_profile
file is hidden.
However, I've been able to follow these tutorials just fine, I just edit my profile
file instead of .profile
, and bashrc
instead of .bashrc
.
Is there a reason why these files are not hidden for me? And does it actually matter?
The thing I am confused about is that .profile
and profile
are two different files (from my understanding - e.g. I can use the touch
command to create .profile
and profile
, then when I use the ls
command to view these files, they are separate files.
So shouldn't there be an error from the terminal/bash initialisation program that's looking for .profile
and .bashrc
, since I only have profile
and bashrc
?