The Quickest Way to Append Text at the Beginning of a File in Linux

As you know, there are redirection operators, which allow you to append text to a file. When you use the [he]gt[/he][he]gt[/he] operator, the text is appended to the end of the file, while the [he]gt[/he] operator replaces the existing content.

Source: LXer – The Quickest Way to Append Text at the Beginning of a File in Linux