show directory linux code example
Example 1: linux commad to show directories
// it will show all directories or folders not files...
ls -d */
Example 2: list all files in a directory and subdirectory linux
find . -type f -follow -print
// it will show all directories or folders not files...
ls -d */
find . -type f -follow -print