capint
10/24/2015 - 6:37 PM

Bash >> Basic structure >> For loop

Bash >> Basic structure >> For loop

#!/bin/bash
for i in $( ls ); do
    echo item: $i
done