Why the command "ls -l" don't list nothing to me?

September 25, 2015 5.4k views
Linux Basics Nginx Ubuntu

Hello! I type “ls” or “ls -r” (L lower case “l”) to try list all my files but is not showing nothing “0” directories/files!!!

What happens? Can anyone help me?

I can create directories and files normally, into in folders, but not show me the list through that command…

That is my console! Only list when I type “ls -lactr”


I use: Ubuntu 14.04
Webserver: Nginx

1 Answer

Because they’re dot files.

$ man ls
  -a      Include directory entries whose names begin with a dot (.).
Have another answer? Share your knowledge.