Linux Essentials: Sed (Stream Editor)
It's sometimes said that find, sed and awk are all you need when it comes to Linux command-line utilities. The last two are Turing complete, just like any other programming language. Having already covered grep, we move on to its stream-wrangling cousin, sed. Its purpose is filtering and transforming streams of text, which is a very loose and general concept in Linux. However, some of its functionality might not be all that obvious without reading the entire manual, but that's where this article jumps into the picture. Fire up your terminal and type along.