Running commands with the Drush tool

Drush is a fantastic time saving tool, and unless you cannot get SSH access to your server, then you should really try it out. Drush makes light work out of installing and enabling modules, and provides quick shortcuts to clearing the cache and putting the site into Maintenance mode.

In this recipe, we will be setting up and configuring Drush on your SSH server, and then running some of the most useful commands.

Getting ready

To complete this recipe, you will need to have SSH command line access to your server with the required authentication to log in and run commands. On some hosting accounts, you need to contact the host company to request that they turn on the SSH access. You will also need some knowledge ...

Get Drupal 7 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.