I think you probably would want the output of the module_list()
function:
http://api.drupal.org/api/function/module_list/6
Brian
Gastón Pablo Pérez wrote:
Hi:
I need to know if exists any way (maybe through drush) in which i will
be able to obtain the list of all modules installed on a particular
drupal site. I would like to create an script to install all modules
that i have in a site to another with a clean drupal installation. I'm
using drupal 6.
thanks in advance
Gastón Pablo Perez
Email: gpperez@gmail.com
Web: http://cv.gpperez.com.ar