Linux Today: Linux News On Internet Time.

How to Add Text to the Beginning of File in Linux

Feb 04, 2021, 23:00 (0 Talkback[s])
(Other stories by LinuxShellTips)

Linux command line users are familiar with the concept of redirection operators, which can write output to a file, or read input from a file. Here are two ways to add text to the beginning of a file in Linux: one with a workaround, and one with a command.

Complete Story