LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 05-27-2009, 02:10 PM   #1
shashwath
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
man command not found


Hi,

I am getting an error message 'bash: man: command not found' when i am trying to run the man command, both as root and as a normal user.What can be done to solve this? I am working on RHEL 5. I tried googling it...did'nt lead me through much...
The PATH variable is set as the following :
for root - PATH => /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
for user shash - PATH => /usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/shash/bin

Any tips?
 
Old 05-27-2009, 02:22 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Hi, welcome to LQ!

yum search man|grep "^man"


If it finds it, install it.
yum install man


Cheers,
Tink
 
Old 05-28-2009, 01:56 PM   #3
shashwath
LQ Newbie
 
Registered: May 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the suggestion. I tried it out, but yum search man|grep "^man" is not giving me anything related to the command man. Accordingly when I still tried yum install man, it said
'No repositories available to set up' and ' No match for argument man' ...
 
Old 05-28-2009, 03:08 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
I'd say it's high time you configured the machine properly, then.


Cheers,
Tink
 
Old 05-28-2009, 06:03 PM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,712

Rep: Reputation: 191Reputation: 191
That is...

You might look at the repositories that you have installed for your distribution, insuring that you have the most common and useful. You do not tell us which linux your linux might be; be thus advised to read this.

http://www.linuxquestions.org/linux/...Ask_a_Question
 
Old 05-28-2009, 07:06 PM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5
Posts: 16,086

Rep: Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995
@thorkelljarl: actually, the OP says RHEL5 ...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: man: command not found Boleng Linux - Newbie 6 06-25-2008 02:44 AM
start-stop-daemon: user `man' not found cccc Debian 4 03-06-2007 04:03 AM
puzzled by grepping on man output -- some strings found, others not tphyahoo Linux - Software 5 11-19-2006 01:17 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
MAN not found or nor installed ???? Need help touny AIX 2 11-12-2005 01:51 AM


All times are GMT -5. The time now is 02:39 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