By default ls does not display hidden files (files with names starting with a dot).

To list hidden files, ls requires the usage of the -A parameter. For example

ls -lA

To list only hidden (dotted) files, use this instead:

ls -l .??*

Leave a Reply