sed -i -e '1s/^/Here is the first line.\n&/g' file.txt
sed -i -e '1s/^/Here is the first line.\'$'\n/g' file.txt
No comments:
Post a Comment