相关疑难解决方法(0)

将 Windows 10 上的 linux shell (.sh) 脚本与 Bash 或 WSL 相关联

如果您曾尝试通过双击在 Windows 10 上运行 .sh linux 脚本,在默认情况下将其分配给 bash.exe(Windows 10 的 Ubuntu Bash)后,您很可能注意到它不会打开。

为什么它不打开,我该如何解决这个问题?

windows bash sh windows-10 windows-subsystem-for-linux

6
推荐指数
1
解决办法
1万
查看次数

我可以在 Windows 上的 Ubuntu 或适用于 Linux 的 Windows 子系统 (WSL) 上使用 Bash 将文件拖放到 .sh 脚本中吗?

我想通过简单地将多个文件拖到脚本文件上来将多个文件作为 Windows 10 中 .sh 脚本的参数传递;这可能吗?

linux script bash windows-10 windows-subsystem-for-linux

6
推荐指数
1
解决办法
4827
查看次数