Shell/Bash: find and replace in all files in directory centos Example

By

Shell/Bash Example: This is the "find and replace in all files in directory centos" Example. compiled from many sources on the internet by SimpleTutorials.org

find and replace in all files in directory centos

grep -rl 'apples' /dir_to_search_under | xargs sed -i 's/apples/oranges/g'



* Summary: This "find and replace in all files in directory centos" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others