|
As far as I know (unix ksh), you have to make a temp file, put the prepend contents in it, append the content of the old file to it, then write the temp file to the old file.
$ cat prependText > tmpFile
$ cat oldFile >> tmpFile
$ cat tmpFile > oldFile
Or however short you can make that if you play with it...
|