Save time using Drush on Drupal

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

Simple tasks like clear cache can take long time using the web interface. Using drus you just need to use the following command:

drush cc

Ant It will display something like this:

Enter a number to choose which cache to clear.
 [0]   :  Cancel
 [1]   :  all
 [2]   :  drush
 [3]   :  theme-registry
 [4]   :  menu
 [5]   :  css-js
 [6]   :  block
 [7]   :  module-list
 [8]   :  theme-list
 [9]   :  registry
 [10]  :  token
 [11]  :  views

From this moment you can select if you want to clear the cache of something specific or All.

Other option very useful it to download modules for that you follow this command:

drush dl module_name

There are many other options for drush, you can find at the project page: