Exam Prep Practice Questions

Question 1 Which command is used to determine the default access mode for files when they are created?
  • A. chown

  • B. chmod

  • C. umask

  • D. chgrp

  • E. ls

A1: The correct answer is C. The chown command is used to change file ownership. The chmod command is used to set the access mode of an existing file. The chgrp command is used to change the group ownership of an existing file, whereas the ls command is used to display access mode of existing files.
Question 2 Which of the following is true about the listing produced by executing the ls -F command? [Select all that apply.]
  • A. The names of the directories are followed by a forward slash (/).

  • B. The names of symbolic links are followed by an asterisk (*).

  • C. The names of directories ...

Get Solaris™ 9 System Administrator Exam Cram™ 2 (Exams 310-014 and 310-015) 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.