Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Nov 26 '10 at 3:22

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

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

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

You must log in to answer this question.