Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
61
rated 0 times [  61] [ 0]  / answers: 1 / hits: 79294  / 1 Year ago, wed, march 15, 2023, 12:02:29

I am having a hard time grasping what dot-files are or what they are for. Are they directories? How do I navigate to them?



Thank you!


More From » files

 Answers
2

In Unix/Linux dot-files refers to files/directories with a . prepended to their name. Examples are ~/.bashrc, ~/.bash_profile, etc. The leading dot . is used as an indicator by software like bash and nautilus to not list these files normally but only when they are specifically requested like pressing Ctrl+H in Nautilus. This is because, generally, dot-files are used to store configurations for different applications but they are sometimes used otherwise as well. For example Mozilla creates a .mozilla folder which contains their configuration files as well as browser cache.



People tend to backup & also share their dot-files so others can boot-strap their own applications using those configuration files. An example of a site dedicated to sharing dot-files is http://dotfiles.org.


[#40991] Wednesday, March 15, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
suitman

Total Points: 487
Total Questions: 105
Total Answers: 98

Location: India
Member since Wed, Aug 4, 2021
3 Years ago
;