在 cygwin 中是否有与 OSX open
命令等效的命令。open
用该类型的默认应用程序打开一个文件。
我想做一些像
$ magic-command file.xls
#excel opens as if file.xls would have been double-clicked
$ magic-command file.txt
#notepad opens as if file.txt would have been double-clicked
你明白了吗?
基本上类似于“ cygwin-double-click”命令。