Text File Commands

From rbachwiki
Jump to navigation Jump to search

Search multiple files for text, then replace it in all returned files

find . -type f -name "*.html" -exec sed -i 's/thommack\*//g' {} +
find . -type f -name "11n2.conf" -exec sed -i 's/rb444/11n2/g' {} +

Bash menu- Home