percorrer diretório shell code example Example: percorrer directoria shell script for d in */ ; do echo "$d" done