Sed stands for “Stream EDitor”: it is a free and open source utility installed by default on all Linux and Unix-based operating systems out there. What it does, is performing text manipulation on files, but it can also be used as part of pipeline and supports the use of regular expressions. In this tutorial, we learn the basics of the sed substitute command.