User Tools

Site Tools


linux:commands:sed

This is an old revision of the document!


sed is a text processing thingy that is very sophisticated.

sed can be used to search and replace across files:

From:

cd /path/to/your/folder
sed -i 's/foo/bar/g' *

This works on files in the working directory only–it is not recursive.

linux/commands/sed.1546384162.txt.gz · Last modified: 2019/01/01 15:09 by dave