sed -i '1i<whatever>' filename.txt