Logo TheBeArsenal

Linux | Technical Handbook

Insert text into the beginning of a file in Linux.

Solution
sed -i '1s/^/abcde /' filename