LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bash: man: command not found (https://www.linuxquestions.org/questions/linux-newbie-8/bash-man-command-not-found-651271/)

Boleng 06-24-2008 08:14 AM

bash: man: command not found
 
Hi!

every time im trying to man a command, for example: man ls, i get; bash: man: command not found.

please help me out.

dr.acul 06-24-2008 08:26 AM

Please post a little bit more about your Linux, that makes helping easier.

Make sure you have man and the path where the excutable is (/bin or /usr/bin), is in your $PATH variable, so the bash can find the command.
type
Code:

whereis man
to see where the excutable is.

georg

colucix 06-24-2008 08:27 AM

Which distribution are you running on? You have to check if the man package is installed and/or your PATH. The man package is installed by default in most distributions and the man command usually resides in /usr/bin. I don't really think it is a PATH problem, otherwise a lot of other commands will not be found.

Boleng 06-25-2008 02:27 AM

im using a parallel work station, openSUSE 10.3-Beta1-GNOME-i386.iso

when i run: whereis man, i get the output: man: /usr/bin/man /usr/bin/x11/man /usr/local/man /usr/share/man

prasanthhs 06-25-2008 02:32 AM

Try echo $PATH ..

and check if its set ..If not then add /usr/bin to PATH.



Quote:

Originally Posted by Boleng (Post 3194374)
im using a parallel work station, openSUSE 10.3-Beta1-GNOME-i386.iso

when i run: where man, i get the output of -bash:where: command not found.

but when i do other commands like, touch, ls, history etc, they do work.


colucix 06-25-2008 02:35 AM

where is not a linux command. Maybe you mean
Code:

whereis man
Anyway, check if the man package is installed, otherwise you have to install it manually via Yast
Code:

rpm -q man
Since you installed from the GNOME CD, it is possible that some software is missing. The GNOME and KDE versions of OpenSuSE are released with a minimal set of packages.

Boleng 06-25-2008 02:44 AM

i ran: rpm -q man, the output: package man is not installed. im getting into yast, then i will get back to you!


All times are GMT -5. The time now is 05:40 PM.