Adicione a linha ao início do script de shell de arquivo

$ sed -i '1s/^/added text /' file
Tanishq Vyas