Question: Is it possible for me to combine multiple sed commands? Can I combine two sed commands and execute it as single sed command?
Answer: In our previous articles we learned sed with single commands — printing, deletion, substitute and file write.
In this article let us review how to combine multiple sed commands using option -e as shown below.
{ 7 comments }






My name is Ramesh Natarajan. I will be posting instruction guides, how-to, troubleshooting tips and tricks on Linux, database, hardware, security and web. My focus is to write articles that will either teach you or help you resolve a problem. Read more about