Workshop

The quiz questions are designed to test your understanding of the material covered in this hour.

Quiz

1:The command to create a new directory in FreeBSD is
  1. md

  2. createdir

  3. newdir

  4. mkdir

  5. makedir

A1: D is the correct answer. None of the other commands listed are valid FreeBSD commands.
2:Which of the following directory names are legal? (Choose all applicable answers.)
  1. mydir

  2. This is a directory

  3. "My Directory"

  4. _directory1

  5. -directory2

A2: A, C, and D are legal directory names. B is illegal because it contains spaces and is not quoted. E is illegal because directory names cannot begin with a dash unless quoted.
3:The –a option to the ls command does which of the following?
  1. It causes all files to be listed.

  2. It shows files beginning with a period (.).

  3. All ...

Get Sams Teach Yourself FreeBSD® in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.