Posted in Command Line, Linux Simple Sed Command Binny V A November 25, 2007 Leave a Comment on Simple Sed Command Change all occurrences of ‘one’ to ‘two’ in the file.txt file in the grep example, enter this: sed 's/one/two/g' file.txt Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.