Command for TFL bus wait times
curl -s http://countdown.tfl.gov.uk/stopBoard/55335 \ | tr '}' '\n' | grep 220 | head -n 3 \ | sed -n 's/^.*estimatedWait":"\([0-9]* min\).*$/\1/p' |
Replace the number after “stopBoard” with your stop number, change “220” to the particular bus number you’re interested in.
Borrowed from https://twitter.com/#!/jgrahamc