Errata

Learning Unix for OS X

Errata for Learning Unix for OS X

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.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

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

Version Location Description Submitted by Date submitted
Safari Books Online ?
7th example

In "File and Directory Wildcards" section, the ls output for "chap{3,6}.txt" should not include "chap3.txt", since there is no such file in the directory.

Ethan Isenberg  Jun 20, 2016 
Safari Books Online ?
Chapter 4, Section "MORE POWERFUL CAPABILITIES", 3rd paragraph, 2nd sentence

This is the sentence:

"The yw command copies (“yanks”) one word, yy yanks the line, yyn yanks n lines (for example, yy5 yanks five lines), y1 yanks a single character, and ynw yanks n words (y5w yanks five words, for example)."

Change to (there are 3 changes):

The yw command copies (“yanks”) one word, yy yanks the line, nyy yanks n lines (for example, 5yy yanks five lines), yl yanks a single character, and ynw yanks n words (y5w yanks five words, for example).

aphilipp  Nov 15, 2016 
Safari Books Online Table 5-3

This is the table entry:

-cmin time
True if the file has been modified within the last time minutes.

Change to:

-cmin time
True if the file has been modified time minutes ago. Prepend + for "more than" or - for "less than".

aphilipp  Nov 22, 2016 
Safari Books Online Chapter 5, Section "Using find to Identify Recently Changed Files", 3rd paragraph, 1st sentence

This is the sentence:

"These first two tests are for files that were changed exactly 60 minutes ago (no surprise, there aren't any) and ..."

The test that the above sentence is referring to is:

$ find . -cmin 60 -print

When I run this command, I am finding that it finds files changed more than 59 minutes ago and up to 60 minutes ago. So the text "exactly 60 minutes ago" is not correct.

aphilipp  Nov 22, 2016 
Safari Books Online Chapter 5, Section "Further Refinements to find", code example

This is the line:

$ find . -type f \( -name "*.txt" -or -name ".htm" \) -print

Change to:

$ find . -type f \( -name "*.txt" -or -name "*.htm" \) -print

André Philipp  Nov 22, 2016 
Safari Books Online Chapter 7, Section "Running a Command in the Background", 7th paragraph

This is the paragraph:

"In bash, you can put an entire sequence of commands separated by semicolons (;) into the background by putting an ampersand (&) at the end of the command line. In other shells, enclose the command sequence in parentheses before adding the ampersand:"

I am finding that a command sequence in bash must also be enclosed in parentheses in order to put the entire sequence into the background. Without the parentheses, only the last command in the sequence gets put into the background.

aphilipp  Nov 27, 2016 
Safari Books Online Chapter 7, Section "Checking on a Process", TIP, 1st sentence

This is the sentence:

"In the preceding list, notice the OS kernel extensions module kextd, the configuration management daemon configd, the audio utility coreaudiod, the low-level disk management program diskarbitrationd, the CoreServices, etc."

Contrary to what this sentence says, the process "coreaudiod" does not appear in the preceding list.

aphilipp  Nov 27, 2016 
Safari Books Online Chapter 7, Section "kill", 2nd code section, 10th line

This is the line:

$ kill 981

In order to match the text in the paragraph that follows, change to:

$ kill 982

aphilipp  Nov 28, 2016 
ePub Page 31
most of the page

apple removed the ability to use ftp from the terminal. One can only use the sftp process which evidently orielly.com does not use or allow access to.

Anonymous  Feb 26, 2018 
PDF Page 33
hint image

use the vi editor to create a file called .profile in your home directory (/Users/your_name),

SHOULD BE

use the vi editor to create a file called .bash_profile in your home directory (/Users/your_name),

Wael Assaf  Sep 03, 2017 
Printed Page 58
Halfway through only paragraph on this page

"Notice that the first directory shown in figure 3-6, Desktop, is executable by taylor but completely closed off to everybody else on the system".
The first non-hidden directory is Applications, and the comment is correct for this directory. The second is "Desktop", and this comment is completely wrong.

Mark Molson  Mar 02, 2020 
ePub Page 119
Code example

Code example reads:
$ find /usr -type f -user $USER -perm +u=w

Should be:
$ find /usr/bin -type f -user $USER -perm +u=w

Naoya Kanai  Mar 26, 2016