Written by: John | 24th Jun 2015
Adding a WordPress install via the command line:
cd the-path-to-dir #get WprdPress wget http://wordpress.org/latest.tar.gz #Unzip tar -zxvf latest.tar.gz #Move all the files up a dir mv ./* ../
Remove all files from dir
sudo rm -rf /path-to-dir/
Grep
#go to the dir you want to search cd /path-to-dir/ #Then search grep -R "The-Phrase" ./