Top 10 Drush commands


drush status - See main information and status of the website.

Drush-status image

$ drush help - Use the 'help' command to get a list of available options and commands.

Drush help image

pm-update --pipe (up --pipe) - Up --pipe is used to show the list of modules which need to be update.

Drush up pipe image

variable get (vget) - Get a list of some or all site variables and values.

Variable get image

drush archive-dump (ard) - drush archive-dump will backup your code, database and files (from the files directory) into a single file.

Use the destination option to tell it where to put the backup file. drush ard --destination=/var/www/site/backups/test.tar

Archive dump image

refresh (rf) - Refresh update status information.

Refresh image

drush user-create - Create a new user

ex- drush user-create username --mail="" --password="xxxxxx"

Create user image

drush ws -See last logged events (watchdog)

Drush ws

drush -n pm-update -View the update status of modules.

View the update status of module image

download (dl) - Download core Drupal and projects like CCK, Zen, etc

Drush status image

Add new comment