This will be a continuous series on the powerful “sed” command
- If you want to add a string e.g. the number “1” to the beginning of all lines in a file that you have then run this command
sed -e ‘s/^/1/’ filename
where filename is the name of the file you are working on.