Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
#!/bin/bash cd public_html/dd/ # Get the full path of the file set $file=$(ls -R1 |egrep -e '\.class\.php$') while [ $file ] do # Ignore .svn directories set $result=$(grep "$file" *.class\.php) # Only print resultant files not in a .svn directory done
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.