EnglishFrenchSpanish

Ad


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

PROGRAM:

NAME


drush - shell scripting interface for Drupal

SYNOPSIS


drush [options] command...

DESCRIPTION


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.

OPTIONS


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

--version
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
example.drushrc.php.

COMMANDS


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.

pm-uninstall
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.

sql-connect
A string for connecting to the DB.

sql-dump
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
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

  • 1
    abi-tracker
    abi-tracker
    abi-tracker - visualize ABI changes
    timeline of a C/C++ software library.
    DESCRIPTION: NAME: ABI Tracker
    (abi-tracker) Visualize ABI changes
    timeline of a C/C+...
    Run abi-tracker
  • 2
    abicheck
    abicheck
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 3
    couriermlm
    couriermlm
    couriermlm - The Courier mailing list
    manager ...
    Run couriermlm
  • 4
    couriertcpd
    couriertcpd
    couriertcpd - the Courier mail server
    TCP server daemon ...
    Run couriertcpd
  • 5
    gbklatex
    gbklatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbklatex
  • 6
    gbkpdflatex
    gbkpdflatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbkpdflatex
  • More »

Ad