Skip to content

Instantly share code, notes, and snippets.

@davidjguru
Last active March 5, 2019 14:02
Show Gist options
  • Select an option

  • Save davidjguru/739c82ddaad8fb37c54cd3fcf474d772 to your computer and use it in GitHub Desktop.

Select an option

Save davidjguru/739c82ddaad8fb37c54cd3fcf474d772 to your computer and use it in GitHub Desktop.
Inspecting Drupal with Drush
## Got to the Project Folder (usually in /var/www/html within Apache) and launch:
echo -e "\n\nSize in disk for this Drupal: " && du -sh ./ && echo -e "\n\nBasic General Report about Drupal: \n\n" && drush status && echo -e "\n\nGeneral Package Installed Report: \n\n" && drush pm-list && echo -e "\n\nOnly Enabled Modules in Drupal: \n\n" && drush pm-list --status="enabled" && echo -e "\n\nAnd now, only Disabled Modules in this Drupal now: \n\n" && drush8 pm-list --status="disabled" && echo -e "\n\nGet a list about Enabled Modules in this Drupal but out of the core: \n\n" && drush8 pm-list --type=module --status=enabled --no-core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment