Re: where can I find comprehensive redhat manual?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks man.You are really a nice guy.:)

Ding

Joe(theWordy)Philbrook wrote:

It would appear that on Apr 30, Ding Li did say:



Do you mean this directory?
/usr/share/doc

I find lots of info there. Actually I know the place,but I keep forgetting them.:) You remind me. Anyway,thanks a lot.




Another thing you may want to remember about finding those docs that
might help if you install a package that happens to put it's docs some
where else. (While I think most use /usr/share I don't know if there are
any exceptions) Anyway you can query rpm for where the docs are. It's all
in the rpm man page. Though I remember it taking me a while to figure
this part out so I'll be nice and give you a couple of examples.


rpm -q -f Command_Path_Name -d

If the command was installed by rpm then one of that should tell you
where the docs are.  You can get the Command_Path_Name with the which
command.

On my FC1 I just did this for opera, and f-prot.


$ which opera /usr/bin/opera $ rpm -q -f /usr/bin/opera -d /usr/share/doc/opera/LICENSE /usr/share/doc/opera/help $ which f-prot /usr/local/bin/f-prot $ rpm -q -f /usr/local/bin/f-prot -d /usr/share/man/man1/f-prot.1 /usr/share/man/man8/check-updates.pl.8 $






--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux