Hell Is Other People Mac OS

broken image


Tap the Albums tab. Tap a Shared Album, then go to the People tab. Select the person's name in the list of subscribers. Tap Resend Invitation. If you previously removed this person from the list of subscribers, tap Invite People, enter their email address, then tap Add. If XGrid isn't competitive anymore it is actually better to pull it off the table rather than to continue to Balkanize the set of viable products for the market. XGrid has a fatal flaw in that it is Mac OS X only. ( yeah there were some 3rd party efforts to make non OS X agents but that was never absorbed into the proprietary product itself.). Mac OS X Cocoa, Hold the Carbon and Classic This means that a lot of people are going to be able to run Cocoa OS X programs, not only on Intel machines, but on various operating systems.

Home > Articles > Apple > Operating Systems

  1. Using the Unix Manual
Page 1 of 5Next >
This chapter is from the book
Unix for Mac OS X 10.4 Tiger: Visual QuickPro Guide, 2nd Edition

This chapter is from the book

This chapter is from the book

Unix for Mac OS X 10.4 Tiger: Visual QuickPro Guide, 2nd Edition

There are four ways to get help when using Unix: from external documentation such as this book, Web sites, and other similar materials; from the extensive Unix reference manuals that come with every version of Unix, including Mac OS X; from the built-in help that comes with most commands; and from other people via online discussion systems, e-mail, user groups, and, yes, calling your friends on the telephone. You are already taking the first approach, so this chapter concentrates on the other three.

The Unix reference manual is a collection of files called manpages, which are specially formatted files intended to be viewed with the man command. Unix man pages are written for an audience of experienced programmers, not for novice users, so to understand Unix man pages, you need to understand the conventions used in them.

Mac OS X comes with almost 3000 Unix man pages. Most of these are copied from the FreeBSD version of Unix, the one used to create Mac OS X's Darwin layer. Some of these pages come from Apple itself, and some come from the software that Apple acquired when it bought NeXT. As of this writing (summer 2005), Apple has made progress updating the man pages to be Darwin specific, but the job is not yet done. Fortunately, most of the man pages do not require updating; unfortunately, there is no easy way to know which ones do require it.

Command-line programs almost always provide a minimal level of built-in help—usually just enough to show you the options and arguments the command expects. Still, that is often enough to remind you of the proper way to use the command.

Help from other people is the most valuable kind, and it's available from a variety of sources. At the end of this chapter is a list of the best places to look.

Using the Unix Manual

Other

Every Unix command is supposed to have an associated man page that describes the command and the options available for using it. You read man pages using the man command.

Hell Is Other People Mac Os Catalina

Unix man pages are arranged into eight or nine sections, depending on which flavor of Unix you are using. Mac OS X uses the nine sections shown in Table 3.1. (These are the nine standard sections from BSD Unix, plus a section for the Tcl/Tk programming language.) Look in the various subdirectories of /usr/share/man to see all the man pages that come with Mac OS X.

Table 3.1. Sections of the Mac OS X/BSD Unix Manual

SECTION

CONTENTS

1

General Commands

Commands you use most frequently, such as man and grep.

2

System Calls

Commands (actually functions) provided by the operating system for use in programming, mostly in the C language, such as getlogin and setuid.

3

Library Functions

Tools for programmers that are available in a variety of languages (C, Perl, Tcl, and others), such as opendir and Text::Soundex.

4

Kernel Interfaces Manual

More-advanced tools for programmers, mostly in the C language, such as stdout and urandom.

5

System File Formats

Man pages for the most important system-configuration files, describing their use for system administration, such as appletalk.cfg and launchd.conf.

6

Games

This covers games, but Mac OS X comes with only one command-line game, banner. If you have a printer connected, try banner -w 80 'Unix' | lp.

7

Miscellaneous Information

Character-set definitions; file types; filesystem information, such as hier, which shows the filesystem hierarchy; and ascii, which describes the ASCII character set.

8

System Manager's Manual

Servers and system-administration commands, such as halt (to shut down the system) and httpd (the Apache Web server).

9

Kernel Developer's Manual Tcl and Tk Built-in Command

The Tcl/Tk programming language gets its own section of the Unix manual, describing all of the Tcl functions and libraries available, such as lindex and tk_messageBox. See man tclsh for an interactive Tcl shell.

Look in the various subdirectories of /usr/share/man to see all man pages that come with Mac OS X. The treachery of platformers mac os.

Wherever you see a Unix command name followed by a number in parentheses—for example, date(1)—the number refers to the section of the manual with which the command is associated. Thus, chown(2) refers to the chown documented in section 2 of the manual, while chown(8) refers to the chown documented in section 8 of the manual.

Throughout this book we use the Unix convention of referring to a manual entry by saying 'see manentry.' entry is usually a command name—for example, we might say 'see man ls' to look at the manual entry of the ls command. entry can also represent anything else the manual covers; some system-configuration files have manual entries.

To display a man page:

  1. The short answer is: mancommand For example, man man shows you the man page for the man command. Figure 3.1 is a code listing showing the beginning of the Unix man page for the man command. It is probably rather confusing at this point, which is why we have this chapter to explain Unix man pages.

    Example 3.1. Typing man man lets you see the man page for the man command itself (this is partial output).

  2. Here is a longer, more useful answer. The generalized syntax of how to display a Unix man page is this: What does that mean? It is the technical way in which Unix command syntax is described. This format, though daunting at first, is a concise and accurate way of showing how a command should be used, and you will see this format constantly in Unix documentation. The man pages for commands all begin with a synopsis of the command using the format shown above. It is well worth your time to learn this syntax. Figure 3.2 shows an element-by-element translation of the specification for the man command itself.

    Figure 3.2 The man pages for commands all begin with a synopsis of the command using this format.

    According to the specification, the only required argument to the man command is the name of the manual entry you want (it is the only argument not inside square brackets), but there are many available options. You must read the man page itself to learn what the options mean. Here are the meanings for the options you are most likely to use:
Download

Every Unix command is supposed to have an associated man page that describes the command and the options available for using it. You read man pages using the man command.

Hell Is Other People Mac Os Catalina

Unix man pages are arranged into eight or nine sections, depending on which flavor of Unix you are using. Mac OS X uses the nine sections shown in Table 3.1. (These are the nine standard sections from BSD Unix, plus a section for the Tcl/Tk programming language.) Look in the various subdirectories of /usr/share/man to see all the man pages that come with Mac OS X.

Table 3.1. Sections of the Mac OS X/BSD Unix Manual

SECTION

CONTENTS

1

General Commands

Commands you use most frequently, such as man and grep.

2

System Calls

Commands (actually functions) provided by the operating system for use in programming, mostly in the C language, such as getlogin and setuid.

3

Library Functions

Tools for programmers that are available in a variety of languages (C, Perl, Tcl, and others), such as opendir and Text::Soundex.

4

Kernel Interfaces Manual

More-advanced tools for programmers, mostly in the C language, such as stdout and urandom.

5

System File Formats

Man pages for the most important system-configuration files, describing their use for system administration, such as appletalk.cfg and launchd.conf.

6

Games

This covers games, but Mac OS X comes with only one command-line game, banner. If you have a printer connected, try banner -w 80 'Unix' | lp.

7

Miscellaneous Information

Character-set definitions; file types; filesystem information, such as hier, which shows the filesystem hierarchy; and ascii, which describes the ASCII character set.

8

System Manager's Manual

Servers and system-administration commands, such as halt (to shut down the system) and httpd (the Apache Web server).

9

Kernel Developer's Manual Tcl and Tk Built-in Command

The Tcl/Tk programming language gets its own section of the Unix manual, describing all of the Tcl functions and libraries available, such as lindex and tk_messageBox. See man tclsh for an interactive Tcl shell.

Look in the various subdirectories of /usr/share/man to see all man pages that come with Mac OS X. The treachery of platformers mac os.

Wherever you see a Unix command name followed by a number in parentheses—for example, date(1)—the number refers to the section of the manual with which the command is associated. Thus, chown(2) refers to the chown documented in section 2 of the manual, while chown(8) refers to the chown documented in section 8 of the manual.

Throughout this book we use the Unix convention of referring to a manual entry by saying 'see manentry.' entry is usually a command name—for example, we might say 'see man ls' to look at the manual entry of the ls command. entry can also represent anything else the manual covers; some system-configuration files have manual entries.

To display a man page:

  1. The short answer is: mancommand For example, man man shows you the man page for the man command. Figure 3.1 is a code listing showing the beginning of the Unix man page for the man command. It is probably rather confusing at this point, which is why we have this chapter to explain Unix man pages.

    Example 3.1. Typing man man lets you see the man page for the man command itself (this is partial output).

  2. Here is a longer, more useful answer. The generalized syntax of how to display a Unix man page is this: What does that mean? It is the technical way in which Unix command syntax is described. This format, though daunting at first, is a concise and accurate way of showing how a command should be used, and you will see this format constantly in Unix documentation. The man pages for commands all begin with a synopsis of the command using the format shown above. It is well worth your time to learn this syntax. Figure 3.2 shows an element-by-element translation of the specification for the man command itself.

    Figure 3.2 The man pages for commands all begin with a synopsis of the command using this format.

    According to the specification, the only required argument to the man command is the name of the manual entry you want (it is the only argument not inside square brackets), but there are many available options. You must read the man page itself to learn what the options mean. Here are the meanings for the options you are most likely to use:

-a

Displays all the man pages that match the command name you supply (the final argument to the man command). Normally the man command shows only the first match (searching the manual starting from section 1).

-d

Displays debugging information instead of the actual manual page(s).

-k

Finds a list of the manual pages that contain the entry in their one-line description. (The entry is the final, and required, argument to the man command.) man -kstring is the same as aproprosstring. See 'To search for a man page,' below.

-K

Similar to the -k (lowercase) option, but searches the full text of all man pages for the string. Can be slow but is very useful.

-h

Displays a help message for the man command.

-t

Produces PostScript output by passing the output of the man command through another program (called troff). If you use this option, you will almost certainly want to save the output in a file or pipe it to a program that understands PostScript. (See 'Printing man Pages,' later in this chapter, and 'Redirecting stdout' and 'Creating Pipelines of Commands,' in Chapter 2, 'Using the Command Line.')

-w

Shows the locations of the actual man page files instead of showing the pages themselves. Try combining this with -a.

-M

You must supply a list of one or more directories (separated by colons) right after this option. The directories are searched for man pages instead of the default locations (which are all in /usr/share/man).

Sometimes you may not be sure which command you want. The apropos command can be used to search the title lines of all the manual pages.

Hell Is Other People Mac Os 11

To search for a man page:

Hell Is Other People Mac Os X

  1. aproposkeyword For example, if you were looking for commands related to appletalk, you would try apropos appletalkFigure 3.3 shows the result (reformatted slightly for print). Each entry lists the name of a man page, the section it belongs to, and usually a one-line description of the man entry.

    Example 3.3. The apropos command can be used to search the title lines of all the manual pages.





broken image