Tugriceri Web Notes

File Replace with sed

by on Dec.24, 2007, under Shell

       -i[SUFFIX], –in-place[=SUFFIX]

              edit files in place (makes backup if extension supplied)

[root@etugriceri sil2]# sed -i ‘s/LAND/AIR/i’ *

Powered by ScribeFire.

No comments for this entry yet...

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...