Today let us discuss about SED .
SED - Streams Editor
Scenario 1:
Replace a string with another string using sed
Syntax
sed 's/string/stringtoreplace/' filename.txt
Example
sed '/s/SQL/ORACLE/' db.txt
Output
Before
After
SED - Streams Editor
Scenario 1:
Replace a string with another string using sed
Syntax
sed 's/string/stringtoreplace/' filename.txt
Example
sed '/s/SQL/ORACLE/' db.txt
Output
Before
After