Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undocumented tools in OS X (was Re: Server Version Inquiry)



Also worst case, go to www.google.com and type in the command name and you most
likely will find a man page for the command if its a common utility on other
*nix OSs. so just for reference go to google and either search something like:
man ls, or man ps, etc :)

On Wed, 31 Jul 2002 09:07:25 -0700
Leon Towns-von Stauber <email@hidden> wrote:
> >I keep running into tools on the lists that don't have man pages so
> >don't show up with apropos commands, how do you guys end up finding out
> >about them?
>
> Poke around. In particular, take a look through /usr/bin and
> /usr/sbin. If you see something that looks interesting, see if
> there's a man page.
>
> If there isn't, try running the command. Try to get a usage
> statement by running it without options, or with "-h", or
> "--help", or some switch you figure it wouldn't implement
> (say, "-Z"). Most OS X commands that don't have man pages (and
> there are, unfortunately, quite a few of these) will generate
> usage statements without too much trouble. However, some of
> those usage statements are out of date. :-S
>
> BTW, don't try this on a machine you need running, because
> some things will screw it up.
>
> If that doesn't help, use "strings" on the binary and see if
> there's anything useful. If you're lucky, a usage statement
> will be embedded in the binary, even if you can't figure out
> how to generate it by running the command.
>
> Finally, if it's included in Darwin (and most are), check out
> the source code. The CVSWeb at OpenDarwin.org is one way:
>
> http://www.opendarwin.org/cgi-bin/cvsweb.cgi/
>
> -------------------------------------------------------------
> Leon Towns-von Stauber http://www.occam.com/leonvs/
> Amazon.com, UNIX Systems Engineer <email@hidden>
> "We have not come to save you, but you will not die in vain!"
> _______________________________________________
> macos-x-server mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/macos-x-server
> Do not post admin requests to the list. They will be ignored.

-Nevin Lyne

--
Gippy's Internet Solutions
http://www.gippy.net/
(507) 250-1141
--
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.

References: 
 >undocumented tools in OS X (was Re: Server Version Inquiry) (From: Leon Towns-von Stauber <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.