Ubuntu'-bash:nano:找不到命令'

问题描述 投票:1回答:2

[我正在尝试使用Ubuntu 18.04在Google Cloud上下载ModSecurity,但是每当我尝试编写sudo nano *file*.confnano *file*.conf时。我收到一个错误消息,说-bash: nano: command not foundsudo: nano: command not found。我不确定是否是因为我正在为此使用Google Cloud Platform,但我只需要知道如何解决此问题

ubuntu google-cloud-platform ubuntu-18.04 mod-security
2个回答
0
投票

似乎nano在此Ubuntu上丢失了。

尝试:sudo apt-get install nano


0
投票

尝试运行sudo apt-get install nano

似乎您的计算机上未安装nano

© www.soinside.com 2019 - 2024. All rights reserved.