Drush is a command-line interface specifically made for working with Drupal. It provides a much faster management experience and is recommended if you are comfortable with using the command line.
This tutorial will show you how to setup Drush on a cloud server running Ubuntu 12.04. Additionally, to illustrate its power, it will show you how to deploy a brand new Drupal site directly from the command line.
Drush is a very useful tool which helps you perform various admin tasks using just one or two commands in the terminal, replacing the many clicks and page refreshes needed in the UI. This tutorial will go through some of the basic Drush commands and will work with a standard Drupal installation to illustrate them.
In this tutorial, you will get a straightforward guide on how to declare your own Drush commands. As part of this exercise, we will declare a command that will publish all the nodes of a given content type which the user passes as the command argument.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in our Questions & Answers section, find tutorials and tools that will help you grow as a developer and scale your project or business, and subscribe to topics of interest.
Sign up now