简体   繁体   English

Mint Linux Visual Studio 终端无法运行命令

[英]Mint Linux Visual Studio terminal cant run commands

This issue is just driving me crazy.这个问题简直让我发疯。 I have used VB with SSH before and had no issues.我之前使用过带有 SSH 的 VB 并且没有任何问题。 For the first time I decided to make the change to mint for my computer just run into a crazy amount of privilege's issues.我第一次决定为我的计算机更改为 mint 只是遇到了大量的特权问题。 However this one I just cant figure it out.然而这个我就是想不通。

I am opened the terminal in Visual Studio and tried to send a sudo, php, apt-get literally any command.我在 Visual Studio 中打开终端并尝试发送 sudo、php、apt-get 字面上的任何命令。 It will always come back with command not found.它总是会返回找不到命令。 I also tried to open a bash terminal and got the same result.我还尝试打开 bash 终端并得到相同的结果。

However if I just open a normal mint terminal all the commands work.但是,如果我只是打开一个普通的薄荷终端,所有命令都可以工作。 So it is not that i dont have sudo or apt-get install.所以这并不是说我没有 sudo 或 apt-get install。

What am i doing wrong here?我在这里做错了什么?

在此处输入图像描述

i once had this problem and fixed it by changing the sh ( top right corner of the terminal ) to bash by clicking it, check if maybe you have the option to我曾经遇到过这个问题并通过单击将 sh (终端的右上角)更改为 bash 来修复它,检查是否可以选择

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM