Skip to content

Instantly share code, notes, and snippets.

@naumvd95
Created July 14, 2020 10:10
Show Gist options
  • Save naumvd95/55d3942b9abd69d3c4e7b4cdfbccf842 to your computer and use it in GitHub Desktop.
Save naumvd95/55d3942b9abd69d3c4e7b4cdfbccf842 to your computer and use it in GitHub Desktop.
sed -i '' "/line_u_wanted_to_insert_below/r add_new.txt" ./file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment