Linux Bash Scripting Tutorial
A Stream Editor that takes its commands from a file
Sed is noninteractive stream editor. normally editing files with vi, requires files should be opened, sed is nondescriptive editor. sed makes changes to the file and displays the content on the screen. if u want to save the changed file, then redirect sed output to file.