man命令魔怔了,绝对路径正常使用,manpath输出..
Tofloor
poster avatar
187******09
deepin
2017-11-25 02:58
Author
本帖最后由 i1516 于 2017-11-25 11:15 编辑

如图,不管man什么还是什么也不man,就光执行man命令,一直出这玩意,这是在扫描么?

这是manpath的输出:
  1. manpath: 警告:已经设定了 $MANPATH,在后面加上 /etc/manpath.config
  2. /home/linuxbrew/.linuxbrew/share/man:/home/linuxbrew/.linuxbrew/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man/zh_CN
Copy the Code


Reply Favorite View the author
All Replies
avatar
187******09
deepin
2017-11-25 03:20
#1
刚才看了一下,全是我系统和软件的配置信息
Reply View the author
avatar
BingoLove
deepin
2017-11-25 06:23
#2
目测输出的是环境变量
怀疑是man被alias到其他命令上了, 你 alias|grep man 看看
Reply View the author
avatar
9***5@qq.com
deepin
2017-11-25 08:14
#3
哥们,你哪里的?魔怔这口音,像我们那的
Reply View the author
avatar
187******09
deepin
2017-11-25 09:04
#4
本帖最后由 i1516 于 2017-11-25 01:09 编辑
BingoLove 发表于 2017-11-24 22:23
目测输出的是环境变量
怀疑是man被alias到其他命令上了, 你 alias|grep man 看看 ...

没有输出,应该没有被alias
whereis一下:
man: /usr/bin/man /usr/local/man /usr/share/man /usr/share/man/man1/man.1.gz


Reply View the author
avatar
187******09
deepin
2017-11-25 09:11
#5
https://bbs.deepin.org/post/148905
哥们,你哪里的?魔怔这口音,像我们那的

我山东那旮沓的
Reply View the author
avatar
9***5@qq.com
deepin
2017-11-25 18:55
#6

哦,俺河南的,口音有点类似哈
Reply View the author
avatar
firedrake
deepin
2017-11-26 04:00
#7
https://bbs.deepin.org/post/148905
没有输出,应该没有被alias
whereis一下:
man: /usr/bin/man /usr/local/man /usr/share/man /usr/share/ ...

应该用 which 吧。
whereis 是搜索。
Reply View the author
avatar
187******09
deepin
2017-11-26 04:42
#8
https://bbs.deepin.org/post/148905
应该用 which 吧。
whereis 是搜索。

which是/usr/bin/man,和whereis第一个一样我就没写,勉强算是解决了

alias fkman='/usr/bin/man'
Reply View the author