Tag Archives: drupal

Drush bash commands

Drush is a command line to manage Drupal. These are some usage example.

 bash | 
 
 copy code |
?

01
# create a list of enabled modules
02
drush sm --pipe --status=enabled
03
04
05
# create txt file which contains a list of enabled modules
06
07
08
drush sm --pipe --status=enabled | cat > modules_enabled.txt
09
10
11