Pages

I haven't heard about Drush command line tool until recently. Books about Drupal do not talk about this nifty tool, not even the advanced ones. Drush takes the power of command line, it can be savior for lazy hacker like me. The only prerequisite for using drush is secure shell access to execute commands on your web server server.

First thing I learnt to do with drush is download, upgrade and enable modules. It a quick and efficient way of upgrade modules.

# /usr/share/drush/drush disable link
The following modules will be disabled: link
Do you really want to continue? (y/n): y
Link was disabled successfully. [ok]
# /usr/share/drush/drush uninstall link
The following modules will be uninstalled: link
Do you really want to continue? (y/n): y
link was successfully uninstalled. [ok]
# /usr/share/drush/drush dl link
Project link (6.x-2.9) downloaded to /var/www/drupal/sites/all/modules/. [success]
# /usr/share/drush/drush enable link
The following modules will be enabled: link
Do you really want to continue? (y/n): y
Link was enabled successfully.