【问题标题】:Certain commands on the Terminal not recognized终端上的某些命令无法识别
【发布时间】:2021-04-20 18:34:36
【问题描述】:

我将 Windows 10 作为操作系统,当我使用 Node.js 命令提示符并输入命令“ls”或“touch”时,我收到一条通知,指出它未被识别为内部或外部命令。但是,当我使用 Windows Powershell 时,这些命令似乎可以正常工作。我应该安装 MINGW64 吗?我附上了一张我正在经历的照片enter image description here

【问题讨论】:

    标签: terminal command


    【解决方案1】:

    也许我误解了这个问题 - 但 touch 和 ls 是 Linux 终端命令

    看来您是在 Windows 命令提示符窗口中键入它们,这会产生:-

    C:\Users\xxx>ls 'ls' 未被识别为内部或外部命令, 可运行的程序或批处理文件。

    (至少在 PowerShell 中, ls 有效)

    【讨论】:

      猜你喜欢
      • 2020-07-08
      • 1970-01-01
      • 2017-03-02
      • 1970-01-01
      • 2018-09-22
      • 2021-04-08
      • 2015-06-07
      • 1970-01-01
      • 2023-03-31
      相关资源
      最近更新 更多