Yes, using [n98][1]:

n98-magerun.phar config:dump frontend/routers


  [1]: https://github.com/netz98/n98-magerun