LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   Linux manpages - frustrating (https://www.linuxquestions.org/questions/general-10/linux-manpages-frustrating-707519/)

noir911 02-25-2009 04:25 PM

Linux manpages - frustrating
 
Just installed netcat on OpenSUSE 10.3 - typing nc in the command line shows nc: command not found. SUSE folks have renamed "nc" to "netcat" Anyhow, read the manpage - man netcat and at the bottom it says: "SEE ALSO
/usr/share/doc/netcat/README" - do a less /usr/share/doc/netcat/README from the shell and get error: /usr/share/doc/netcat/README: No such file or directory

Give up and read OpenBSD's excellent nc manpge (http://www.openbsd.org/cgi-bin/man.c...86&format=html)

alan_ri 02-25-2009 04:33 PM

So,what's your question?

XavierP 02-25-2009 04:38 PM

Manpages have been complained about ever since non-developers started using it. This is why there are so many blogs/wikis/webpages devted to doing things in Linux. Unfortunately, as with all documentation, they haven't really changed and the only answer is to write something easier to read yourself.

Though I notice that the "excellent" nc page for BSD is merley more detailed than for Linux. They are both still a PITA to read through, imo.

alan_ri 02-25-2009 05:17 PM

Xavier,I agree with you almost completely.Some man pages are really good and some need improvement.I don't like posts like the one from OP here in this thread (post no.1) because they are not doing any good to any Linux user.
BTW,the problem that OP have is solved by running this command;
Code:

less /usr/share/doc/packages/netcat/README

SlowCoder 02-25-2009 05:27 PM

Man pages are rather terse, but once you get used to them, they're no big deal to get through. In the mean time, try to use them, and if you can't figure them out, find your answers on the web.

billymayday 02-25-2009 05:44 PM

Some are terse, bordering on useless, some are great. I'd use the rsync man page as an example of a really useful one, lots of good examples for a pretty complex program (or at least very optionable - new word there).

Can't find a really useless on at the moment, but they are out there.

jschiwal 02-25-2009 07:12 PM

The README file would be in /usr/share/doc/packages/netcat/.
ls /usr/share/doc/packages/netcat/
Changelog data README scripts

SuSE used /usr/share/doc/packages/<packagename> for all packages. Other distros use /usr/share/doc/<package_name>-<version>/ instead.

If you have konqueror installed try entering `man:netcat' in the address bar. That will give you a more readable html version.
You can also run `man -t netcat | kghostview -' for a postscript version. Both should be easier to read.

In konqueror, you can also read info manuals the same way: `info:bash'.

schneidz 02-27-2009 09:28 AM

for some reason i find the die.net man pages more eye-soothing.


All times are GMT -5. The time now is 02:35 PM.