Go To Homepage



Book Details
Linux System Administration Recipes: A Problem-Solution Approach book cover
  • By Juliet Kemp
  • ISBN13: 978-1-4302-2449-5
  • ISBN10: 1-4302-2449-5
  • 350 pp.
  • Published Oct 2009
  • Print Book Price: $34.99
  • eBook Price: $24.49



Errata Submission

If you think that you've found an error in Linux System Administration Recipes: A Problem-Solution Approach, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

Submit Errata
Linux System Administration Recipes: A Problem-Solution Approach (978-1-4302-2449-5)

Errata

Issue Author's Response
In chapter 1, on page 2 the following command is given:

find / -fstype local -mtime -10m

and its purpose stated as "find any file that has been modified in the last ten minutes" but man page of find says:

-mtime n
File’s data was last modified n*24 hours ago. See the comments for -atime to understand how rounding affects the interpretation of file modification times.

n is just "hours" not minutes or something else.
The command should read

find / -fstype local -mmin -10

(for hours rather than minutes, use -mtime 10)
In chapter 1, on page 2 the following talks about "line 05"

"Finally, line 05 prefaces each line of the history file with a timestamp in the format 2009-03-08 10:54:31."

but there is no such line in the listing:

01 shopt -s histappend
02 PROMPT_COMMAND='history -n;history -a'
03 HISTSIZE=100000
04 HISTFILESIZE=100000
Line 05 is missing. It should read

export HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S - '