kojiro 1216388920 learn To prepend a string to a file, use cat with the stdin flag: cat - origfile <<< "string" > newfile && mv newfile origfile izabera 1418283630 forget izabera 1418283653 learn To prepend a string to a file, use cat with the stdin flag: cat - origfile <<< "string" > newfile && cat newfile > origfile && rm newfile izabera 1418283898 forget izabera 1418283915 learn To prepend a string to a file, use cat with the stdin flag: cat - origfile <<< "string" > newfile && mv newfile origfile