getting a category without display

Is it possible to basically do "d.what.rast" without having a display?
I want to be able to pass true Northing and Eastings into d.what.rast
or some other program without using the mouse, and get back the
category of a specified raster map.

  Yes, use r.what, for help use g.manual r.what

  good luck!
--

  ------------------------------------------------------------------
  Nelson Segura Nunez | " He is no fool who gives
  Ingenieria Civil Informatica | what he cannot keep to gain
  Universidad de Concepcion | what he cannot lose "
        Chile |
  -1994 | -Jim Elliot
        ---------------------------------------------------------------