Insert Text with sed in Bash

InstructorCameron Nokes

Share this video with your friends

Send Tweet

In this lesson, you'll learn how sed can be used to insert lines of text. We'll use sed's i command to insert a header at the top of every .js file in a directory.