Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

(New to unix)
In ubuntu When I am up in "/" folder i type

sudo find . -name  .erlang.cookie

and the result is


then when I am on the folder - /var/lib/rabbitmq - and I type "ls" I see one file named mnesia.

( when I type again find command i see ./.erlang.cookie what does that mean?)

share|improve this question
up vote 19 down vote accepted

In Unix, a filename beginning with a dot, like .erlang.cookie, is considered a hidden file and is not shown by bare ls. Type ls -a to also show hidden files.

From man ls:

   -a, --all
          do not ignore entries starting with .

However, you can show a hidden file with ls if you specify the name:

$ ls .erlang.cookie
share|improve this answer
Or ls -A if you don't want to show . and ... Having them displayed is generally only useful if you use ls -l. – nyuszika7h Mar 9 '14 at 14:00

In Unix, hidden files start with dot(.), so when you issue "ls" command it will not list them out. If you want to print hidden file with long listing format you can use following command,

$ls -la

l - use a long listing format
a- do not ignore entries starting with .
share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.