Mot Mot - 1 year ago 105
Linux Question

Linux: command to open URL in default browser

What command we have to execute (from Java, but that should not matter) on Linux (different common distributions) to open a given URL in the default browser?

Answer Source

The most cross-distribution one is xdg-open http://stackoverflow.com