Ubuntu '-bash: nano: 找不到命令'
Ubuntu '-bash: nano: command not found'
我正在尝试使用 Ubuntu 18.04 在 Google Cloud 上下载 ModSecurity,但每当我尝试写入 sudo nano *file*.conf
或 nano *file*.conf
时。我收到一条错误消息 -bash: nano: command not found
或 sudo: nano: command not found
。我不确定是不是因为我正在为此使用 Google 云平台,但我只需要知道如何解决这个问题
ubuntu 上似乎缺少 nano。
尝试:sudo apt-get install nano
尝试运行sudo apt-get install nano
您的机器上似乎没有安装 nano
我有同样的错误。解决方法是 OS 中缺少 nano 文本编辑器。
你可以通过在终端window:
中这样写来下载它
sudo apt install nano
注意: apt-get 也可以,但现在贬值了,新的术语是 apt。
我正在尝试使用 Ubuntu 18.04 在 Google Cloud 上下载 ModSecurity,但每当我尝试写入 sudo nano *file*.conf
或 nano *file*.conf
时。我收到一条错误消息 -bash: nano: command not found
或 sudo: nano: command not found
。我不确定是不是因为我正在为此使用 Google 云平台,但我只需要知道如何解决这个问题
ubuntu 上似乎缺少 nano。
尝试:sudo apt-get install nano
尝试运行sudo apt-get install nano
您的机器上似乎没有安装 nano
我有同样的错误。解决方法是 OS 中缺少 nano 文本编辑器。 你可以通过在终端window:
中这样写来下载它sudo apt install nano
注意: apt-get 也可以,但现在贬值了,新的术语是 apt。