snippetInstall Drush (Drupal Shell) in /opt

Primary tabs

First change to super user

$ su

Change to /opt directory

$ cd /opt

Grab a copy of drush with wget

$ wget http://ftp.drupal.org/files/projects/drush-7.x-4.4.tar.gz

Extract compressed file into opt directory

$ tar -zxvf drush-7.x-4.4.tar.gz

Create shortcut with soft link

$ ln -s /opt/drush/drush /usr/bin/drush

We can now go into website directory an run drush to update drupal by the command prompt

Code: 
Tag: