
| Current Path : /var/www/html_old/abc/web/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html_old/abc/web/xx |
Drush Commandline Tool 10.3.6
Run `drush help [command]` to view command-specific help. Run `drush topic` to read even more documentation.
Available commands:
_global:</co
mment>
browse Display a link to a given path or open link in a
browser.
drupal:directory Return the filesystem path for modules/themes and
(dd) other key folders.
generate (gen) Generate boilerplate code for
modules/plugins/services etc.
help Display usage details for a command.
jn:get Execute a JSONAPI request.
list List available commands.
mk:docs Build a Markdown document for each Drush command
thats available on a site.
runserver (rs, Runs PHP's built-in http server for development.
serve)
version Show Drush version.
cache:</comm
ent>
cache:clear (cc) Clear a specific cache, or all Drupal caches.
cache:get (cg) Fetch a cached object and display it.
cache:rebuild (cr, Rebuild a Drupal 8 site.
rebuild)
cache:set (cs) Cache an object expressed in JSON or var_export()
format.
cache:tags (ct) Invalidate by cache tags.
config:</com
ment>
config:delete Delete a configuration key, or a whole object.
(cdel)
config:edit (cedit) Open a config file in a text editor. Edits are
imported after closing editor.
config:export (cex) Export Drupal configuration to a directory.
config:get (cget) Display a config value, or a whole configuration
object.
config:import (cim) Import config from a config directory.
config:pull (cpull) Export and transfer config from one environment to
another.
config:set (cset) Set config value directly. Does not perform a config
import.
config:status (cst) Display status of configuration (differences between
the filesystem configuration and database
configuration).
core:</comme
nt>
core:cron (cron) Run all cron hooks in all active modules for
specified site.
core:edit (conf, Edit drushrc, site alias, and Drupal settings.php
config) files.
core:init (init) Enrich the bash startup file with bash aliases and a
smart command prompt.
core:requirements Information about things that may be wrong in your
(status-report, rq) Drupal installation.
core:rsync (rsync) Rsync Drupal code or files to/from another server
using ssh.
core:status An overview of the environment - Drush and Drupal.
(status, st)
core:topic (topic) Read detailed documentation on a given topic.
deploy:</com
ment>
deploy Run several commands after performing a code
deployment.
deploy:hook Run pending deploy update hooks.
deploy:hook-status Prints information about pending deploy update
hooks.
entity:</com
ment>
entity:delete Delete content entities.
(edel)
entity:updates Apply pending entity schema updates.
(entup)
image:</comm
ent>
image:derive (id) Create an image derivative.
image:flush (if) Flush all derived images for a given style.
locale:</com
ment>
locale:check Checks for available translation updates.
locale:export Exports to a gettext translation file.
locale:import Imports to a gettext translation file.
locale:update Imports the available translation updates.
php:</commen
t>
php:cli (php, Open an interactive shell on a Drupal site.
core:cli, core-cli)
php:eval (eval, ev) Evaluate arbitrary php code after bootstrapping
Drupal (if available).
php:script (scr) Run php a script after a full Drupal bootstrap.
pm:</comment
>
pm:enable (en) Enable one or more modules.
pm:list (pml) Show a list of available extensions (modules and
themes).
pm:security (sec) Check Drupal Composer packages for pending security
updates.
pm:security-php Check non-Drupal PHP packages for pending security
(sec-php) updates.
pm:uninstall (pmu) Uninstall one or more modules and their dependent
modules.
queue:</comm
ent>
queue:delete Delete all items in a specific queue.
queue:list Returns a list of all defined queues.
queue:run Run a specific queue by name.
role:</comme
nt>
role:create (rcrt) Create a new role.
role:delete (rdel) Delete a new role.
role:list (rls) Display a list of all roles defined on the system.
role:perm:add (rap, Grant specified permission(s) to a role.
role-add-perm)
role:perm:remove Remove specified permission(s) from a role.
(rmp,
role-remove-perm)
site:</comme
nt>
site:alias (sa) Show site alias details, or a list of available site
aliases.
site:alias-convert Convert legacy site alias files to the new yml
(sa-convert, sac) format.
site:install (si, Install Drupal along with
sin) modules/themes/configuration/profile.
site:set (use) Set a site alias that will persist for the current
session.
site:ssh (ssh) Connect to a Drupal site's server via SSH, and
optionally run a shell command.
sql:</commen
t>
sql:cli (sqlc) Open a SQL command-line interface using Drupal's
credentials.
sql:connect A string for connecting to the DB.
sql:create Create a database.
sql:drop Drop all tables in a given database.
sql:dump Exports the Drupal DB as SQL using mysqldump or
equivalent.
sql:query (sqlq) Execute a query against a database.
sql:sanitize Sanitize the database by removing or obfuscating
(sqlsan) user data.
sql:sync Copy DB data from a source site to a target site.
Transfers data via rsync.
state:</comm
ent>
state:delete (sdel) Delete a state entry.
state:get (sget) Display a state value.
state:set (sset) Set a state value.
theme:</comm
ent>
theme:enable (then) Enable one or more themes.
theme:uninstall Uninstall theme.
(thun)
twig:</comme
nt>
twig:compile Compile all Twig template(s).
(twigc)
twig:unused Find potentially unused Twig templates.
updatedb:</c
omment>
updatedb (updb) Apply any database updates required (as with running
update.php).
updatedb:status List any pending database updates.
(updbst)
user:</comme
nt>
user:block (ublk) Block the specified user(s).
user:cancel (ucan) Cancel user account(s) with the specified name(s).
user:create (ucrt) Create a user account.
user:information Print information about the specified user(s).
(uinf)
user:login (uli) Display a one time login link for user ID 1, or
another user.
user:password Set the password for the user account with the
(upwd) specified name.
user:role:add Add a role to the specified user accounts.
(urol, user-add-role)
user:role:remove Remove a role from the specified user accounts.
(urrol,
user-remove-role)
user:unblock UnBlock the specified user(s).
(uublk)
views:</comm
ent>
views:analyze (va) Get a list of all Views and analyze warnings.
views:dev (vd) Set several Views settings to more
developer-oriented values.
views:disable Disable the specified views.
(vdis)
views:enable (ven) Enable the specified views.
views:execute (vex) Execute a view and show a count of the results, or
the rendered HTML.
views:list (vl) Get a list of all views in the system.
watchdog:</c
omment>
watchdog:delete Delete watchdog log records.
(wd-del, wd-delete,
wd)
watchdog:list Interactively filter the watchdog message listing.
(wd-list)
watchdog:show Show watchdog messages.
(wd-show, ws)
watchdog:show-one Show one log record by ID.
(wd-one)