Using GRASS shell, I know that I can use the -help suffix to get information about a particular module.
E.g. r.relief -help
will return this:
Description:
Creates shaded relief map from an elevation map (DEM).
Keywords:
raster, elevation, relief, terrain, hillshade
Usage:
r.relief input=name output=name [altitude=value] [azimuth=value]
[zscale=value] [scale=value] [units=string] [--overwrite] [--help]
[--verbose] [--quiet] [--ui]
Flags:
--o Allow output files to overwrite existing files
--h Print usage summary
--v Verbose module output
--q Quiet module output
--ui Force launching GUI dialog
Parameters:
input Name of input raster map
output Name for output shaded relief map
Name for output raster map
altitude Altitude of the sun in degrees above the horizon
options: 0-90
default: 30
azimuth Azimuth of the sun in degrees to the east of north
options: 0-360
default: 270
zscale Factor for exaggerating relief
default: 1
scale Scale factor for converting meters to elevation units
default: 1
units Elevation units (overrides scale factor)
options: intl,survey
intl: international feet
survey: survey feet
Therefore, it seems reasonable to me, that there must be a command to list all the available modules names. Is there? What?
g.extension -l
?compgen -c | grep 'r\.'
(nb it may return some other standard linux commands too)