All posts by admin

Drush bash commands

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

 bash | 
 
 copy code |
?

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