Efficient Linux at the Command Line

Errata for Efficient Linux at the Command Line

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
Page p. 47, ch. 3: Rerunning Commands.
Table 3-2.

In the Vim column the keystroke for "Move forward by one character" should be 'l', whereas "Move backward by one character" should be 'h'.

And lastly, regarding the actions about capitalization, there are some inaccuracies. 'Meta-c', 'Meta-u' and 'Meta-d' all alter the current word, instead of the next one. 'w~', though, does act on the next word, but "switches" the case. So "Capitalize first letter of next word" is true only if the character under the cursor is lowercase.

Note from the Author or Editor:
The submitter is correct. Will be updated in next printing of the book.

Loris Brandimarte  Jan 24, 2023  Mar 31, 2023
Page Page 39 - History Expansion
4th paragraph

The sentence "For example, the expression !1203 ("bang 1023") means the "command at position 1023 in the history" contains typos (1023 should be 1203).

Similarly, the command prompt examples given also contain the same typo:
$ !1203 The command at position 1023

should be
$!1203 The command at position 1203

Note from the Author or Editor:
On page 39, change "1023" to "1203". The changes occur in three phrases:

- "bang 1023"
- "the command at position 1023 in the history"
- "The command at position 1023"

Lucas Foo  Jul 18, 2023 
Page 58
Second command line

The "ls" command to list duplicate directories has a misplaced left parenthesis. It should be at the start of the command (to the left of the FIRST "ls"), not to the left of the SECOND "ls".

The full command should be:

(ls -d */ && ls -d */*/ | cut -d/ -f2-) | sort | uniq -c | sort -nr | less

Daniel J. Barrett
Daniel J. Barrett
Mar 06, 2023  Mar 31, 2023