I need a little help on bash scripting. I want to be able to take a list of names from one file and output them to another but add extra text to it.
example

file1 contains
bob
joe
dave
paully
sally

file 2 will contain
hello bob
hello joe
hello dave
hello paully
hello sally

like that.


like echo "hello $name" >> file2

i know its probably going to be a loop but i lost the only book i had that showed the examples...i'm in the process of buying a new one but figured i give you guys/girls a try.

thanks.