I want to insert text at the top of an already existing file. How can I achieve this. I tried
tee but was not successful.
I was trying to insert repo line at the top of
sources.list file from terminal.
I need an one line quick solution, because another answer's method was known to me already