Re: programs with no man pages?

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



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@xxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux