This User Gave Thanks to Perderabo For This Post: cns1710. When the âsedâ command is made use of without the need of the â-i optionâ, then the written content of the file will remain unchanged, and the output will clearly show the file material with the inserted newline. I was working on certain project last week where i need to insert line after match in 100 of files in Linux or Unix operating system. */a after=me' test.txt. # This file is included from other service-specific PAM config files, Note that "i" will insert your new text BEFORE the line matching the pattern. ... All, Sep 16, 2009.