[CentOS] programs with no man pages?

Wed Feb 25 21:13:42 UTC 2009
Ross Walker <rswwalker at gmail.com>

On Wed, Feb 25, 2009 at 2:39 PM, Scott Silva <ssilva at sgvwater.com> wrote:
> on 2-25-2009 10:29 AM Les Mikesell spake the following:
>> Scott Silva wrote:
>>> on 2-25-2009 9:50 AM Les Mikesell spake the following:
>>>> 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?
>>>>
>>> ss is part of iproute. It is similar to netstat.
>>
>> Yeah, but where's the 'teach a man to fish...'?
>>
> Jim Perrin tried to teach you to fish, but as you found out, there are a lot
> of fish in lake Google!
>
> OK.. Here is the fishing lesson.
>
> "which ss" gives you a path
>
> "yum provides /usr/sbin/ss" gives you a package name
>
> "ls /usr/share/doc/$packagename" gives you some files to look at.
>
> in that listing was ss.ps. Find a way to open or read ss.ps like gv or ggv and
> you have some info.
>
>
> CSI it ain't!

Reading postscript is easy with ghostscript:

# ps2ascii ss.ps | more

Should have all the pieces necessary now...

-Ross