本文介绍了Linux:在默认浏览器中打开 URL 的命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们必须在 Linux(不同的常见发行版)上执行什么命令(来自 Java,但这应该无关紧要)才能在默认浏览器中打开给定的 URL?
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?
推荐答案
最交叉分布的一个是 xdg-open http://stackoverflow.com
The most cross-distribution one is xdg-open http://stackoverflow.com
这篇关于Linux:在默认浏览器中打开 URL 的命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!