Q:

Extracting raster values at points for GRASS GIS

I have points shapefile and a raster file. For each point, I want to extract the raster value which overlaps that particular point. This has been done in QGIS (link below) but I was looking for a solution for GRASS GIS. 
Extracting raster values at points using Open Source GIS?
EDIT: I found the blog below to be useful and posted the solution to the question below

A:

The GRASS documentation on v.what.rast is very clear and concise. Have you tried: 
v.what.rast map=pnts raster=elevation column=height

Where pnts is  your vector point layer; elevation is your raster and height is the attribute that will be updated.

