Posts

Showing posts from September, 2015

Understanding sed command with example -Part 2

sed is a *nix stream editor command with the ability to filter and transform input text files line by line. sed command works very well with awk command and they are used together by System Administrators to simplify day to day activities. The syntax for sed command is sed [options] commands <input-file> In the earlier post we saw how to print, quit and delete a particular line with sed command. In this second of the two post series on sed we will cover 3 more widely used commands. They are  Substitute (s/../../) command Change (c \) command Insert (i \) command