๐ BASH Prepend A Text / Lines To a File under Linux, macOS and Unix
๐ก Newskategorie: Unix Server
๐ Quelle: cyberciti.biz
{Updated} I am a new Unix system user with a bash as a default shell. I can append text to a file using >> operator but how do I prepend a text to a file? I want the opposite operation of >> operator. How can I prepend some data to a text file? How do we add text to the beginning of a file in Bash under Linux?
The post BASH Prepend A Text / Lines To a File under Linux, macOS and Unix appeared first on nixCraft. ...