ls -a
lists all folders whether hidden or not.
ls - pla
makes it clearer. Since there are no hidden folders in the root directory, no hidden folders are displayed there.
ls --help
& man ls
shows all necessary information.
Let's stay in the home directory. Of course this only applies to one level. If you want to show all hidden folders Recursiv then use ls -plaR
. This will make it confusing but can help if you are looking for a certain folder you don't know where it is.
Then I'd rather use locate
or find
.