Answers for "sed command to insert a line into a file"

-1

sed add line to file

sed '$ a <your important words here>' file.txt 

# add -i to modify that file directly
Posted by: Guest on July-17-2021

Code answers related to "sed command to insert a line into a file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language