sed command for Linux and Unix: Replace in-place Learn how to use the sed command to find and replace text in files in-place on Linux and Unix systems. This guide covers sed’s -i flag, backup options, and replacing across multiple files. Gabe Berke-Williams January 15, 2014 Unix Linux Sed