Linux Sed Output Same File

[Solved] Linux Sed Output Same File | Basic - Code Explorer | yomemimo.com
Question : linux sed output same file

Answered by : armando-flores

Just use something like following with p option at sed command`s end:
cat file.txt| sed -En "s/string_to_replace/replacement_string/p"

Source : | Last Update : Tue, 10 Nov 20

Answers related to linux sed output same file

Code Explorer Popular Question For Basic