【问题标题】:Console2 Tab for Bash on Ubuntu on Windows 10用于 Windows 10 上 Ubuntu 上的 Bash 的 Console2 选项卡
【发布时间】:2019-04-27 01:16:59
【问题描述】:

我无法让 Console2 在 Windows shell 上使用 Bash on Ubuntu 为我提供一个新选项卡。到目前为止,我已经尝试过:

C:\Windows\System32\bash.exe
C:\Windows\System32\cmd.exe /c "C:\Windows\System32\bash.exe"
C:\Windows\SysWOW64\cmd.exe /c "C:\Windows\System32\bash.exe"

前两个命令从“开始”>“运行”开始。它们都不能作为 Console2 中的新选项卡命令。

我该怎么做?

【问题讨论】:

  • 我在您的问题中没有看到与 Ubuntu 的联系......也没有与 Bash ......这似乎只是 Windows 上的一个 gui 问题(使用 console2)。

标签: bash ubuntu windows-10 console2


【解决方案1】:

检查您的 Console2 版本。

您需要安装64位版本的Console2。你可以找到它here。您将看到 Console-2.00b148-Beta_64bit.zip。照常安装。

在 Console2(64 位)中,您必须转到菜单 Edit ->Settings...,然后在 “启动目录” 中,您可以选择“C:\Users \您的用户名”。最后在 "Shell" 中写入 "C:\Windows\System32\bash.exe"。然后选择 OK。

【讨论】:

  • 工作,谢谢!看起来 64 位和 C:\Windows\System32\bash.exe 的组合作为新选项卡的命令是我所需要的。 Startup Dir 和 Shell 更改似乎没有任何效果。
猜你喜欢
  • 2017-02-14
  • 2017-02-12
  • 1970-01-01
  • 1970-01-01
  • 2013-12-10
  • 2017-02-01
  • 2023-03-20
  • 2018-01-24
  • 1970-01-01
相关资源
最近更新 更多