# simple for loop
for fruit in apples oranges pears bananas
do
	echo "$fruit"
done
echo "Task complete."


#list directory files in home directory
for i in ~/*    #* matches names of all files
do 
	if [ -d "$i" ]    #-d test option to check if it is directory
		then
			echo "$i"
	fi
done


