Hello i have to write a short program to take in an input and add it to the top of file and add a timestamp into the bottom of the file also in an html comment. just a little confused how to do this
echo "What would you like to add to the top of the file
read x
cat $x >> File1
But this is to add this at the end of the file? Thanks in advance!