You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Find and replace string in file

find  dir/subdir -type f -exec sed -i 's/foo/bar/g' {} +
  • No labels