Hidden Files

ls does not, in fact, cause all the files in your home directory to be listed, but only those ones whose name does not begin with a dot (.)

Files beginning with a dot (.) are known as hidden files and usually contain important program configuration information.

They are hidden because you should not change them unless you are very familiar with Linux!!!

To list all files in your home directory including those whose names begin with a dot, type

ls -a

As you can see, ls -a lists files that are normally hidden.

ls is an example of a command which can take options: -a is an example of an option. The options change the behaviour of the command. There are online manual pages that tell you which options a command can take, and how each option modifies the behaviour of the command. (See later in this tutorial).

Last updated