the_prompt$ cat thefile
line1 line2 line3
the_prompt$ sed -e '1 i \the line you wanna put first' thefile
the line you wanna put first line1 line2 line3