Im trying to get the hang of the command find but im kind of confused as to why i get this kind of output from this code can anyone explain? Output:
file1
file2
file3
etc...
good morning
What i want is
file1
good morning
file2
good morning
file3
good morning
etc....
for line in `find $1 -type f`
do
echo $line
echo hello good morning
done
Thanks in advance