A well written guide on how to upgrade Drupal using SSH commands
This guide is meant to augment the official Upgrade guide. Please read the official upgrade steps in UPGRADE.txt as well as in the Drupal.org Dcoumentation thoroughly to ensure that you understand every aspect of the upgrade process. This guide is for more advanced users with SSH experience.
The goal of this guide is to provide more advanced users with a series of SSH/terminal commands which can be used to upgrade a Drupal site in as little as one minute (to run the upgrade commands – the time for your backup, which you should do first, will vary).
Read the full guide at davidnewkerek.com