find . -type f -print0 -exec sed -i 's/hello/hi/g' {} +
(we can add -name "*.txt"
option to restrict the recursion and speed up the work)
grep -R {something_to_look_for} {where_to_look_in}
(before run updatedb
)
locate {word}
find . -type f -print0 -exec sed -i 's/hello/hi/g' {} +
(we can add -name "*.txt"
option to restrict the recursion and speed up the work)
grep -R {something_to_look_for} {where_to_look_in}
(before run updatedb
)
locate {word}