OnWorks favicon

drush - Online in the Cloud

Run drush in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command drush that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



drush - shell scripting interface for Drupal


drush [options] command...


drush is 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.

Drush core ships with lots of useful commands for interacting with code like
modules/themes/profiles. Similarly, it runs update.php, executes sql queries and DB
migrations, and misc utilities like run cron or clear cache.


-r path, --root=path
Drupal root directory to use (default: current directory)

-l uri, --uri=uri
URI of the drupal site to use (only needed in multisite environments)

-v, --verbose
Display extra information about the command.

-q, --quiet
Hide all output

-d, --debug
Display even more information, including internal messages.

-y, --yes
Assume 'yes' as answer to all prompts

-s, --simulate
Simulate all relevant actions (don't actually change the system)

-p, --pipe
Emit a compact representation of the command for scripting.

-h, --help
A detailed help system, use drush help help for complete help.

Show drush version.

If you get tired of typing options all the time, you can add them to your drush.php alias
or create a drushrc.php file. These provide additional options for your drush call. They
provide great flexibility for a multi-site installation, for example. See


Drush is all based around "commands" that are usually defined in various modules.

help Print the help message. Use --filter to limit command list to one command file
(e.g. --filter=pm).

cache-clear (cc)
Clear a specific cache, or all drupal caches.

core-cli (cli)
Enter a new shell optimized for Drush use.

core-cron (cron)
Run all cron hooks.

core-status (st)
Provides a birds-eye view of the current Drupal installation, if any.

php-eval (eval)
Evaluate arbitrary php code after bootstrapping Drupal.

updatedb (updb)
Apply any database updates required (as with running update.php).

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

variable-set (vset)
Set a variable.

watchdog show
Shows recent watchdog log messages. Optionally filter for a specific type.

pm-enable (en)
Enable one or more extensions (modules or themes).

pm-disable (dis)
Disable one or more extensions (modules or themes).

pm-download (dl)
Download projects from drupal.org or other sources.

Uninstall one or more modules.

pm-updatecode (upc)
Update Drupal core and contrib projects to latest recommended releases.

pm-update (up)
Update Drupal core and contrib projects and apply any pending database updates
(Same as pm-updatecode + updatedb).

sql-cli (sqlc)
Open a SQL command-line interface using Drupal's credentials.

A string for connecting to the DB.

Exports the Drupal DB as SQL using mysqldump.

This manual only lists a few of the most frequently used builtin commands shipped with the
Drush core, since other Drupal modules and third-party "command files" may extend this
list significantly. The canonical source of information for the available commands and
their usage is the online help system.

More information on each command is also available through drush help <command>. Most
commands have shortcuts indicated in parenthesis.

Use drush online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    Download OrangeFox
  • 2
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 3
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 4
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    Download XISMuS
  • 5
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 6
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 7
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • More »

Linux commands

  • 1
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    Run acl_gran
  • 2
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    Run acl_grant
  • 3
    cpupower idle-set - Utility to set cpu
    idle state specific kernel options
    SYNTAX: cpupower [ -c cpulist ]
    idle-info [options] DESCRIPTION: The
    cpupower idle-se...
    Run cpupower-idle-set
  • 4
    cpupower-info - Shows processor power
    related kernel or hardware
    configurations ...
    Run cpupower-info
  • 5
    g15daemon - provides access to extra
    keys and the LCD available on the
    logitech G15 keyboard. DESCRIPTION:
    G15Daemon allows users access to all
    extra keys by d...
    Run g15daemon
  • 6
    laditools - tools to control and
    monitor LADI (JACK and ladish) systems ...
    Run g15ladi
  • More »