How to view your MYSQL databases nicely formatted in the command line
Being able to search for a string of code across multiple files for wordpress development (or any code) is extremely useful. Especially jumping into a theme someone else built. This is the bash function I use.
This command will search all the .php files in the directory you’re in, and all directories below for the string class=”widget-area”. It outputs the entire line that the string is on and the name of the file.
Usage: mfind filetype string