[CentOS] programs with no man pages?

Wed Feb 25 19:32:59 UTC 2009
Stephen Harris <lists at spuddy.org>

On Wed, Feb 25, 2009 at 01:00:39PM -0500, Jim Perrin wrote:
> On Wed, Feb 25, 2009 at 12:50 PM, Les Mikesell <lesmikesell at gmail.com> wrote:
> > I accidentally typed ss instead of ls and was surprised when it did
> > something... ?I can use rpm's --whatprovides to see where it came from,
> > but how are you supposed to find out want a program does when it doesn't
> > have a man page?
> 
> On a slightly more helpful note, once you know the name of the rpm
> which provided the package, you can use 'rpm -qd packagename' to see

Or, using the "f" option
  % rpm -qdf /usr/sbin/ss

Which could be combined with a simple grep:

  % grep -lw ss $(rpm -qdf /usr/sbin/ss)
  /usr/share/doc/iproute-2.6.18/RELNOTES
  /usr/share/doc/iproute-2.6.18/ss.ps

They're the 2 files I'd look at!

-- 

rgds
Stephen