On Fri, Jul 05 at 12:14, Patrick Wigmore wrote:
> On Thu, 04 Jul 2019 10:37:35 +0100, Bob Dunlop wrote:
> > nvi
> >    text    data     bss     dec     hex filename
> >   27061    2048     256   29365    72b5 /usr/bin/nvi
> >  442019   18688     144  460851   70833 /usr/lib64/libvi.so.0
> >  430302   17628    2552  450482   6dfb2 /lib64/libncursesw.so.6
> 
> This type of output was not something I was familiar with. I can see 
> that size(1) produces output in this format, given a list of object 
> files, but what method did you use to produce the list of files, 
> excluding common operating system libraries?

The command was simply "ldd /usr/bin/nvi" which shows the list of
object dependencies, then cut and paste library names I'm interested
in into the size command.

As for how to locate an unknown command I don't know, in my case it's
too many years of experience.  Since you already know about apropos
and it's limitations I can only suggest DuckDuckGo is your friend.
Or https://unix.stackexchange.com/search is good for a lot of technical
questions.

-- 
        Bob Dunlop

-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2019-08-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to