我刚刚从Mac迁移到Windows,并想继续使用终端导航系统,我安装了Ubuntu,但是简单的open命令却无法正常工作,有人可以帮我吗?when I try to open a file or just enter the command open 我正在使用Windows 10版本1909。 谢谢
答案 0 :(得分:0)
我在这里找到了答案:https://superuser.com/questions/1160419/how-can-i-open-a-file-from-wsl-with-the-default-application
使用以下方法代替使用open
:
cmd.exe /C start <file>
然后,我为此命令添加了别名,因此仍然可以使用open
命令。编写方法如下:https://ilikekillnerds.com/2017/08/create-alias-c-drive-ubuntu-bash-windows/