directory elenco linux
ls -d */
elenca solo le directory
# 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"
ottieni l'elenco delle directory bash
for d in */ ; do
echo "$d"
done
elenca tutti i file in una directory e sottodirectory linux
find . -type f -follow -print