Return to Snippet

Revision: 37121
at December 4, 2010 03:49 by bionic


Initial Code
$ sed -i 's/ugly/beautiful/g' /home/bruno/old-friends/sue.txt

Initial URL
http://www.brunolinux.com/02-The_Terminal/Find_and%20Replace_with_Sed.html

Initial Description
From the referenced website:
Well, that command speaks for itself "sed" edits "-i in place ( on the spot ) and replaces the word "ugly with "beautiful" in the file "/home/bruno/old-friends/sue.txt"

Initial Title
Find and replace with sed

Initial Tags
replace, find

Initial Language
Bash