v.net.distance(1grass) on Linux
The text 117f0d02cfbc, as Debian 10 (Buster) shipped it.
Computes shortest distance via the network between the given sets of features. Finds the shortest paths from each ’from’ point to the nearest ’to’ feature and various information about this relation are uploaded to the attribute table.