Chapter 13

  1. Use the lastlog command
$ lastlog | awk ' /Never logged/ { print $1}'
  1. Use the wc command
$ lastlog | awk ' /Never logged/ { print $1}' | wc -l
  1. Zero. Because the line ends with two asterisks.