LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-24-2008, 08:14 AM   #1
Boleng
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
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.
 
Old 06-24-2008, 08:26 AM   #2
dr.acul
LQ Newbie
 
Registered: Jun 2008
Location: Germany
Distribution: Gentoo/LFS
Posts: 27

Rep: Reputation: 15
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
 
Old 06-24-2008, 08:27 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,508

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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.
 
Old 06-25-2008, 02:27 AM   #4
Boleng
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Original Poster
Rep: Reputation: 0
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

Last edited by Boleng; 06-25-2008 at 02:34 AM.
 
Old 06-25-2008, 02:32 AM   #5
prasanthhs
LQ Newbie
 
Registered: Aug 2007
Location: Japan
Posts: 24

Rep: Reputation: 0
Try echo $PATH ..

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



Quote:
Originally Posted by Boleng View Post
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.
 
Old 06-25-2008, 02:35 AM   #6
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,508

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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.
 
Old 06-25-2008, 02:44 AM   #7
Boleng
LQ Newbie
 
Registered: Jun 2008
Posts: 3

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: command not found Pengye Linux - General 5 06-01-2008 11:57 PM
bash command not found manolakis Linux - Newbie 13 01-21-2007 02:07 PM
bash: g++ command not found briemac Programming 14 12-31-2006 01:31 AM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
bash: pg: command not found Chomper Programming 2 02-05-2005 02:22 AM


All times are GMT -5. The time now is 03:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration