sed -i 's/FIND/REPLACE/g' *.*
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.
Snippet Viewed 1723 times.
Share your Linux code snippets:
- Get some recognition & link back to your site.