欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

CentOS下-bash: nano: command not found的解决,nano的使用方法

nano是Linux下一种文本编辑器,可以用其创建文件,使用nano hello,即可创建文件。

如果,提示:-bash: nano: command not found,该如何解决呢。

这种问题多见于安装的纯净的CentOS或者Rethat中。基本上,刚刚安装好的Linux,环境变量的配置也不会有问题。那么就是nano没有安装,于是安装一下即可解决:

yum install nano

nano: command not found

遇到提问,一路y即可。

yum install nano

nano的用法:

nano hello

创建hello文件,之后在其中输入字符,然后Ctrl+O保存,Ctrl+X退出。


来自  http://www.91ctc.com/article/article-440.html


普通分类: