nick34992
8/19/2017 - 9:54 PM

Bash: Iterate Directory List: for

Bash: Iterate Directory List: for

#!/bin/bash

for i in $( ls ); do
  echo dir item: $i
done

exit 0