LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-22-2005, 01:27 AM   #1
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Rep: Reputation: 15
apropos, man -k, man -f?


Hi,

Whenever I try apropos / man -k / man -f with any command, it tells me that there is nothing appropriate. How do i get this to work? could someone help?
 
Old 03-22-2005, 01:31 AM   #2
varunvarde2007
LQ Newbie
 
Registered: Mar 2005
Location: Ahmedabad
Distribution: Red Hat Version 9
Posts: 7

Rep: Reputation: 0
Can you basically tell me for what you are using this command

i mean what are you willing to do so i can reply you
 
Old 03-22-2005, 02:29 AM   #3
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Original Poster
Rep: Reputation: 15
basically it gives you a brief description of any command that you want help about. like i can do a

man -k ls

and then it would give me a brief description of the ls command. that is exactly what i am not able to get.
 
Old 03-22-2005, 03:16 AM   #4
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Original Poster
Rep: Reputation: 15
Hi,

dont bother. i found the solution. i just had to create the whatis database using the command /usr/sbin/makewhatis

after that man -k and man -f and even apropos works real fine
 
Old 03-22-2005, 09:25 AM   #5
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
RHEL must not set up the whatis database for you, like most Linux distros I have used.

I have to do the "makewhatis" on older unix systems I work with, but I have never had to in Linux.
 
Old 06-06-2005, 01:42 PM   #6
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
krishvij,

thanks for making sure you posted your solution. I too could not get apropos to work, until I read this...

Thanks!
 
  


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
man alsamixer not showing the man page nosaku Slackware 1 12-20-2004 08:52 AM
How to quit man (less) and keep man info on screen? peb Linux - Newbie 7 03-25-2004 10:02 PM
'apropos' and 'whatis' not returning info when 'man' does docbrazen Slackware 2 11-15-2003 11:46 PM
no, MAN!!! adam_boz Slackware 4 10-30-2002 10:52 PM
Compiling packages on RH 7.1 causes man files to be named man.gz mmboam Linux - General 0 05-09-2001 06:47 PM


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