终端命令未被识别为内部或外部命令

1 execute-command

我试过:

startx
Run Code Online (Sandbox Code Playgroud)

它没有用说:

startx is not recognized as an internal or external command

并尝试:

sudo apt-get install ubuntu-desktop
Run Code Online (Sandbox Code Playgroud)

但我得到:

sudo is not recognized as an internal or external command

然后我尝试:删除sudo并再次显示:

apt-get is not recognized as an internal or external command

Oli*_*Oli 5

词组

...不被识别为内部或外部命令

特定于 Windows。也就是说,您在 Windows 命令提示符下。

使用 Ubuntu。你会发现你的命令在那里工作得稍微好一些。