How to get the enabled module list in drupal 7 by Drush

Easy way to find all the enabled modules on your site with drush.

  1. List all drush Commands on your site >> drush
  2. List all modules and themes >> drush pm-list
  3. List only modules >> drush pm-list --type=Module
  4. List all modules except core modules >> drush pm-list --type=Module --no-core
  5. List all enabled modules except those from the core >> drush pm-list --type=Module --no core --status=enabled
  6. List all enabled modules except those from the core which belong to the CCK package >> drush pm-list --type=Module --no core --package=CCK --status=enabled
  7. If you want more info about the pm-list >> drush help pm-list