how to add a character in the begining of each line code example
Example: sed add word to beginning of line
$ sed 's/^/#/' file.txt
#add
#character
#at the
#beginning of
#each line
$ sed 's/^/#/' file.txt
#add
#character
#at the
#beginning of
#each line