r.univar(1grass) on Linux
The text 02ce5d0eeb2b, as Debian 11 (Bullseye) shipped it.
Calculates univariate statistics from the non-null cells of a raster map. Statistics include number of cells counted, minimum and maximum cell values, range, arithmetic mean, population variance, standard deviation, coefficient of variation, and sum.