Visit complete DevOps roadmap
DevOps Topic

sed

sed

sed(Stream Editor) command in UNIX can perform lots of functions on file like searching, finding and replacing, insertion or deletion. By using SED you can edit files even without opening them in editors like VI Editor.

It has the following syntax:

$ sed [options].. [script] [input-file] e.g. $ sed 's/search-regex/replacement-txt/g' file.txt

Visit the following resources to learn more:

More Topics

Explore related content

View All Topics
Loved by 100K+ Developers

Start Your Learning
Journey Today

Join thousands of developers who are leveling up their skills with structured roadmaps and expert guidance

No credit card required
Always free
Track your progress