Array Daftar Direktori Bash Store
let i=1
for dir in "${dirs[@]}"; do
echo "$((i++)) $dir"
done
Borma
let i=1
for dir in "${dirs[@]}"; do
echo "$((i++)) $dir"
done