r.walk(1grass) on Linux
The text ec579b2e7ef8, as Debian 8 (Jessie) shipped it.
Outputs a raster map layer showing the anisotropic cumulative cost of moving between different geographic locations on an input elevation raster map layer whose cell category values represent elevation combined with an input raster map layer whose cell values represent friction cost.