Re: programs with no man pages?

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



On Wed, Feb 25, 2009 at 2:39 PM, Scott Silva <ssilva@xxxxxxxxxxxx> 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
_______________________________________________
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