Errata

Macintosh Terminal Pocket Guide

Errata for Macintosh Terminal Pocket Guide

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
PDF
Page 7
near bottom

“➜ wc -l myfile The command you type
12 23 371 myfile The output it produces”

The output should show '12 myfile' because the -l option was used. The correct command for the output shown would be 'wc myfile'

Note from the Author or Editor:
The error report is correct. On page 7, the output of the command "wc -l myfile" should be:

12 myfile

instead of:

12 23 371 myfile

This error is present in all versions of the book.

Anonymous  Apr 27, 2021 
PDF
Page 8
Last command example on the page (at bottom of page).

UPDATE

On closer inspection, it appears that there really is a typo in the example command at the bottom of page 8, after all, and that the typeface is not the main problem, although the chosen typeface still might be contributing to the problem (because lowercase letter l characters in this typeface can still be misread as numeral 1 characters and uppercase letter O characters are still hard to distinguish from numeral 0 characters).

Copying the text from the PDF of the book and pasting it into a TextEdit plain-text document reveals that the option character really is a lowercase letter "el," not a numeral "1," after all. In TextEdit, the l in the option looks exactly like the l at the beginning of the command (the l in "last," in other words).

I confirmed this by examining the plain-text document from the command line using the od (octal dump) command, which shows that both characters are, in fact, the letter "l".

The command as printed in the book, thus, is:

last -l $USER

(That's "-l" or hyphen and lowercase "el".)

In order to work, the command needs to be changed to:

last -1 $USER

(That's "-1" or hyphen and numeral "one".)

Moreover, my suggestion needs to be re-categorized from "Language or formatting error" to "Minor technical error."

-B.

Note from the Author or Editor:
The writer is correct. In the command

last -l $USER

the "-l" should contain a number one, not a lower-case L. So it should say:

last -1 $USER

Bruce Brown  Aug 16, 2012  Dec 14, 2012
PDF
Page 120
tmutil command

In the 3rd release, there is an error on page 120.

halt a backup with:

➜ tmutil stopbackup

and list your backups with:

➜ tmutil stopbackup



I think the second command should be

➜ tmutil listbackups

Note from the Author or Editor:
The second occurrence of "tmutil stopbackup" (the final tmutil command on the page) should be changed to "tmutil listbackups".

Neil Hurst  Jan 04, 2013