Sunday, 2 October 2016

Find and Replace using Sed Linux | Find and Replace string in Linux

Use below mention command to find and replace a complete string in linux :-

find . -type f -exec sed -i 's/find/replace/g' {} +

In case of directory address use \ with / to replace. 

No comments:

Post a Comment