LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-24-2007, 06:32 AM   #1
devayani
LQ Newbie
 
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
man command not working.....used to work before!!!


Hi,

I am a newbie, I used the man command frequently but since the day I tried the installation of a software , it shows "No manual entry for ls" for any command that I give.

$PATH=/usr/local/lheasoft/Linux_2.2_i686/scripts:/usr/local/lheasoft/Linux_2.2_i686/bin:/home/savitri/Desktop/Devayani/isdc-software/osa_sw_6.0/bin:/home/savitri/Desktop/Devayani/isdc-software/osa_sw_6.0/root/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/savitri/bin

Why is this happening?


Regards

Devayani
 
Old 09-24-2007, 06:58 AM   #2
LuLoh
LQ Newbie
 
Registered: Feb 2007
Location: Spain
Distribution: debian etch
Posts: 13

Rep: Reputation: 0
Hi,
in my installation I have no MANPATH variable defined (echo $MANPATH reports nothing), so this variable is not really
needed. Do you have a file like /etc/manpath.config ?
What is the output of the command 'manpath' ? (don't know if it existe on your installation)
Have you tried to give the path to any man page manually (with the -M option), something like:
man -M /usr/share/man/en/ ls
(the directory must contain a file like ls.1.gz, of course)
Depending on your distribution, have you tried to check the installation of your man command and the corresponding man
pages (maybe something is wrong with them...)
Hope that helps.

Saludos.
 
Old 09-24-2007, 09:42 AM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
If you have locate installed, here's a handy little command to generate a MANPATH statement for you:

Code:
echo -n export MANPATH=\" ; locate -r '/man$' | while read d; do [ -d "$d" ] && echo -n $d:; done ; echo \"
You can copy-paste the output of that command to your .bashrc or .profile or whatever is appropriate for your shell, and then when you next log in you will have the MANPATH set automatically.
 
  


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 command missing olin Slackware 6 09-20-2007 04:35 PM
The command man dont work Mago de Oz AIX 3 05-09-2006 04:44 PM
man command - (END) michshelly Linux - Newbie 6 04-27-2006 04:04 AM
How do i get out of the man command? caa1980 Linux - Software 4 08-13-2004 10:12 PM
Man command not working chunkymunky Linux - Newbie 2 12-02-2003 04:12 PM


All times are GMT -5. The time now is 06:04 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration