linux liste dizinleri
ls -d */
bash dizinlerinin bir listesini alın
for d in */ ; do
echo "$d"
done
Linux dizinindeki ve alt dizinindeki tüm dosyaları listele
find . -type f -follow -print
python'da liste dizini
from os import listdir
## Prints the current directory as a list (including file types)
print(os.listdir())