Bon Voyage!

30 06 2011

A simple but yet helpful line if you quickly want to look up the track from A to B. Opens google maps in your favourite browser, displaying the desired route.
$ gmaps city_1 city_2

#!/bin/bash
browser=firefox
from=$1
to=$2
$browser 'http://maps.google.de/maps?saddr='${from}'&daddr='${to}

Advertisements