Linux File Search and replace

A perl one-liner that can be run from the prompt, to search and replace text in all files, in all subdirectories of the current directory.
sed -i 's/FIND/REPLACE/g' *.*
Posted by
Snippet Viewed 1723 times.

Share your Linux code snippets:

  • Get some recognition & link back to your site.

 

Submit | Browse

Most Recent linux snippets

Most Viewed