for循环:
#!/bin/bash

for file in $(ls /ect)
do
echo $file
done