Useful Linux Commands 03/2008
Linux March 16th, 2008
grep -R “<rec_lang>de<\/rec_lang>” /var/repository/000/023/*
Show all files that contain a the string <rec_lang>de</rec_lang>
find . -name ‘*.php’ | xargs perl -pi -e ’s/this->type/this->beanType/g’
Find the string ‘this->type’ and replace it with ‘this->beanType’ in all *.php-files in and under the current working directory. Thanks to Darren and Reto!
About





