Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    1

    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 #

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,218
    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?
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •