在 Windows 上存在命令:
start myfile.mp3
start myfile.txt
在苹果机上:
open myfile.mp3
open myfile.txt
Ubuntu下有模拟命令吗?
最佳答案
xdg-open
如果您有与 freedesktop.org 兼容的环境。
关于linux - 如何从控制台 linux 运行文件关联的应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9816758/