If you want to find any hidden files (Files with a dot first), you can use this command:
find ./ -name '.*'
You can change ./ to be /var/www to find any hidden files in /var/www
If you want to find any hidden files (Files with a dot first), you can use this command:
find ./ -name '.*'
You can change ./ to be /var/www to find any hidden files in /var/www
You can use this command to get the list of the number of file in current directory
ls -1 ./ | wc -l
Or
ls -1 /var/log | wc -l
to get the number of files in /var/log