How can I get a list of content types with drush? How can I get the existing content type list with drush? This will allow me to quickly produce a list.

I've tried with: 

$ drush @d6 @sites genc --types


But I need the devel_generates module enabled for this.


  Command genc needs the following module(s) enabled to run: devel_generate.
List of names:

drush sqlq "SELECT name FROM node_type;"

List of machine names:

drush sqlq "SELECT type FROM node_type;"

This works in D6 and D7.

The first line of the command's output will be name or type, respectively.
Pipe |tail -n +2 if you want to drop that first line.