SSH: ssh -i ~/.ssh/key.pem [email protected]
Move: mv [move_file] [file_destination]
Copy All Files in Dir: cp -r [/dir/etc/*] [destination/]
Delete: rm -Rf [filename & dir]
Create Dir: mkdir -p [parentdir/childdir/etc]
Delete Dir: rm -rf [dir]
Install: yum install [package]
Tar-Up: tar -zcvf [name].tar.gz [folder to compress]
Un-Tar: tar -zxvf [file].tar
Download: scp -r [username]@[server]:[dir/etc] [local_dir]
Upload: scp [local_file] [username]@[server]:[dir/etc]
Upload w/ Key: scp -i [key] [local_file] [username]@[server]:[dir/etc]
Clear cache: drush cc all
If drupal broke: drush sql-query "DELETE FROM cache”
Download module: drush dl module1 module2
Update module: drush up module_name
Update drupal: drush up drupal
Run update.php: drush updb
Run cron: drush cron
Run super-cron: drush cron-run
Drop all db tables: drush sql-drop