Answers for "find and replace in all files in directory centos"

1

find and replace in all files in directory centos

grep -rl 'apples' /dir_to_search_under | xargs sed -i 's/apples/oranges/g'
Posted by: Guest on May-19-2020

Code answers related to "find and replace in all files in directory centos"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language