sed add line after match, you use sed function: a , to add a new line after the matched string. syntax: sed '/option/a newLine'...