>
>I have file f1 and i want to add a line to the end of the file from
>command line, is there a way to do that?
>Thanks
echo "foo text here" >> f1
This is one way to do it. The >> is a redirect saying take whatever is echoed and append it to file f1. Make sure you use two >'s because using only one will overwrite the file with whatever is echoed and not append.
Brad Sites