seznam adresářů Linuxu
ls -d */
seznam pouze adresářů
# List directories under the current working directory.
ls -l | grep "^d"
# List directories under the current working directory and
# include hidden folders
ls -la | grep "^d"
získat seznam adresářů bash
for d in */ ; do
echo "$d"
done
seznam všech souborů v adresáři a podadresáři linux
find . -type f -follow -print