-
man does'nt work!!
Hi, I am using slackware / Backtrack2 in a vmware image.
When I am trying to use man I get followin error
-bash: man: command not found
However man lives in /usr/bin
bt ~ # cd /usr/bin
bt bin # ls man
man*
bt bin #
/usr/bin is in the PATH variabel
bt ~ # echo $PATH
/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/apache/bin:/usr/local/pgsql/bin:/opt/mono/bin:/usr/local/pgsql/bin:/opt/nessus/bin:.:/usr/lib/java/bin:/opt/kde/bin
when I use the command
bt bin # /usr/bin/man/man
What manual page do you want?
bt bin # /usr/bin/man/man ls
No manual entry for ls
bt bin #
this is the same for every command I try to check.
bt bin # echo $MANPATH
/usr/local/man:/usr/man:/usr/X11R6/man:/usr/lib/java/man:/opt/kde/man
bt bin #
bt bin # whereis man
man: /usr/bin/man /usr/lib/man.conf /usr/local/man /usr/share/man
bt bin #
-
There are two parts to man: one is the man command, which is in /usr/bin. The other is the files that actually contain the information, which are usually in usr/share/man. This should contain subdirectories called man1, man2...mann, and they should contain files with names like "subject.n.gz". Have you checked that you have these files?