While setting up the layout of the site, I wanted to remove the Proudly powered by text from the footer.
To do this, I placed the entire theme in a directory, then changed to that working directory:
cd ~/Downloads/Theme
Then I used grep in the terminal to find all occurrences of this string:
grep -rnw . -e 'Proudly powered by'
The flags used in this command have the following meaning:
-r … recursive
-n … line number
-w … match whole words
-e … string pattern
Additionally, several other flags could be used for a more efficient search.
To only include php and css files in the search:
grep --include=*.{php,css} -rnw . -e 'Proudly powered by'
To exclude html files from the search:
grep --exclude=*.html -rnw . -e 'Proudly powered by'
To exclude the icons and fonts subdirectories from the search:
grep --exclude-dir={icons,fonts} -rnw . -e 'Proudly powered by'
To learn more about this fantastic command line tool, use man grep.