Here is a list of useful commands that I find myself having to look up fairly often : Move contents of folder one folder up and remove said folder From the subfolder that you no longer need : mv * .[^.]* .. Modifying hosts file (Mac/ Linux) sudo vi /etc/hosts
Cheat sheets
Memory aides or reference sheets
Installing Theme Unit Test Data with wp-cli
When building custom themes client sites it is important to test as many edge case as possible. Theme Unit Test Data is the way to go here and a minimum requirement for any professionally built WordPress theme (in my opinion anyway) If building a theme for the wordpress.org theme repository this will almost certainly be …Continue reading
WP-CLI Cheatsheet for site setup
For those who are comfortable with WP-CLI but haven’t yet memorised all the commands here are some of the more common ones I use when developing client sites. The object here is to save time and to avoid do repetitive (and unexciting) tasks in wp-admin. If you aren’t comfortable with WP-CLI and would like to …Continue reading
Unix Command Cheatsheet
This is a conglomeration of several online cheatsheets, the origins of which are noted in the resources section below. It also includes my own notes, any of this is open for discussion. Please feel free to correct any wrong information or to include any which are vital but may have been overlooked.