When we install Linux, what directory contains default ‘user configuration’ files such as .bashrc, .bash_profile etc.
This should be inside your user’s directory. This is in /home/
and then followed by the username. That’s where it is stored. You also need permission to access these files as well if you aren’t the owner or root.
1 Like
If I am the root or owner then these files are present in root directory right?
Only if you are root
. root
’s home directory is /root
. But if you are using root
via the terminal, then you can still access other user’s directories because you are above users and user groups.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.