Bash commands replace in file perl -p -i -e 's/oldstring/newstring/g' * sed -i ‘s/oldstring/newstring/g’ * find app/views/ -type f -exec perl -p -i -e 's/alert.unit/unit/g' {} \; date format date +"%m-%d-%y find files greater than specified size find / -type f -size +1G