linux错误—2.man:command not found
文章目录
第一种可能是你没有安装man
只需要安装就可以
[root@centos ~]# yum install man
第二种可能是环境变量PATH不对的问题
此时,把该路径加入PATH即可,
# 用whereis命令查看,该指令的位置。
[root@centos swpu]# whereis man
man: /usr/share/man
# 通过编辑/etc/profile来改PATH
[root@centos swpu]# vim /etc/profile
进入编辑模式,在最后,添加:
export PATH="/usr/share/man:$PATH"
保存,退出,然后运行:
[root@centos swpu]# source /etc/profile
不报错则成功。
如果输入vim /etc/profile
,出现vim: command not found
错误,则参考这个网址:linux错误—1.vim: command not found来解决。
参考博客:Linux中可以man到一个命令,但是使用时报错command not found
linux错误—2.man:command not found相关推荐
- pip Command Not Found – Mac 和 Linux 错误被解决
使用Python时,可能需要安装和使用某些软件包.有一个命令可用于'pip' 使用pip,您可以安装.升级和卸载各种Python包.在本文中,您将学习如何使用它,以及如何处理pip错误. 如何使用 p ...
- Linux下解决“shutdown: command not found“问题
Linux下解决"shutdown: command not found"问题 参考文章: (1)Linux下解决"shutdown: command not found ...
- windows安装pycocotools错误:cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'
在安装基于keras.tensorflow实现的Mark RCNN(https://github.com/matterport/Mask_RCNN),要运行其中的demo.ipynb时,需安装pyco ...
- 重置密码解决MySQL for Linux错误 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passwor
重置密码解决MySQL for Linux错误 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passwor ...
- 重置密码解决MySQL for Linux错误 ERROR 1045 (28000):
重置密码解决MySQL for Linux错误 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passwor ...
- Linux错误:bash:finger 未找到命令...
Linux错误:bash: finger: 未找到命令- #意外用了一下finger命令,结果显示未找到命令 [root@localhost ~]# finger -l root bash: fing ...
- 编译linux内核出现mkimage command not found错误
mkimage是uboot生存的工具,编译uboot后在uboot/tools下面.然后将其拷贝到/usr/bin目录下并改变他的权限.就行了.
- 64位ubuntu 12.04编译linux内核提示mkimage command not found
今天心血来潮,想编译以下linux内核来玩玩.一开始编译x86的版本,遇到了openssl/opensslv.h文件缺失的问题,经过一番折腾,顺利解决(解决过程请参见我的另外一篇博客"lin ...
- linux ioctl及ioctl command
在linux驱动中经常用到的函数为open.read.write用于对设备进行读取和写入数据,但是除了上述功能之外还有另外一个重要的功能ioctl,很多时候用户程序需要根据自己的需求配置所操纵的硬件, ...
- linux 错误日志 __ratelimit: XXX callbacks suppressed 原因
报错 今天线上遇到故障,php进行因为段错误退出了,系统日志中的kernel报错如下: Feb 25 22:25:11 web_server_01 kernel: __ratelimit: 250 c ...
最新文章
- BI之SSAS完整实战教程3 -- 创建第一个多维数据集
- linux内核网络协议栈--数据包的接收过程(二十二)
- spring boot: Bean的初始化和销毁 (一般注入说明(三) AnnotationConfigApplicationContext容器 JSR250注解)...
- Mysql的一些问题
- 深入理解.NET Core的基元(二) - 共享框架
- ajax无刷新评论的思路,ajax学习——ajax版无刷新评论(数据库)
- 匹配yyyy-mm-dd日期格式的的正则表达式
- 内存泄漏分析工具tMemoryMonitor(转载)
- 数据模型与决策_好的数据模型最终都为业务而生
- SQL语句统计每天、每月、每年、今天、昨天、本周、上周的数据
- GridView的DataFormatString
- 智能车制作——从元器件、机电系统、控制算法到完整的智能车设计|文末赠书
- 【python】微信朋友圈数据分析及可视化(爬虫+数据挖掘)
- ArcGis拓扑——规则、概念与要点
- 3、查询省会(Python实现多行输入,以回车结束输入)
- AIR应用:二维码批量生成
- wxPython中按钮、文本控件的简单运用
- AutoLayout(Ⅱ):遇到的几个小问题(Keng)
- C++实现get与set
- 王牌竞速安装后显示服务器维护,王牌竞速进不去游戏怎么办 如何解决进不去游戏...