Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have been trying to figure this out for a while now, pretty simple question for some I can only guess, but why is there a 'dot' in front of .bashrc?

share|improve this question

migrated from stackoverflow.com Nov 26 '10 at 3:22

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers

By default, filenames prefixed by a dot (.) don't show up when you do the ls command in Linux.* Most system files (like .bashrc) are prefixed by a dot for this reason.

*Unless you run ls with the appropriate switches; man ls for more information.

share|improve this answer
add comment

Because it's a hidden file.

Standard file browsers won't display files beginning with a . unless you set some setting for it ("Show hidden files" or similar). Files beginning with a . will also not appear on the standard ls output, but ls -a will allow you to see them.

It basically reduces clutter since hidden files a generally ones you won't need to see on a daily basis.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.