The ls command normally ignores any files whose names begin with
a dot (
.). This is often very convenient: UNIX has lots of
small configuration files, scratch files, etc., that you really don't
care about and don't want to be bothered about most of the time.
However, there are some times when you care very much about these
files. If you want to see "hidden" files, use the command
ls -a. For example:
lsDon't show hidden files Mail mail.txt performance powertools %
ls -aThis time, show me EVERYTHING . .emacs Mail powertools .. .login mail.txt .cshrc .mailrc performance
With the -a option, we see four additional files: the C shell
initialization file, the login initialization file, the customization
files for the GNU Emacs editor, and mail. We also see two "special"
.., which represent the current directory and the
parent of the current directory.
All UNIX directories contain
ls -AShow me everything but . and .. .cshrc .login Mail performance .emacs .mailrc mail.txt powertools