Practice Questions

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

  • b. chmod

  • c. umask

  • d. getfacl

  • e. ls

A1: Answer c is correct. The umask command determines the default access mode for files when they are created. The setfacl and chmod commands set access modes of existing files. Therefore, answers a and b are incorrect. The getfacl and ls commands display access modes of existing files. Therefore, answers d and e are incorrect.
Question 2 Which of the following are true about the listing produced by executing the ls -F command? (Select all that apply.)
  • a. The names of directories are followed by a forward slash (/).

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

  • c. The ...

Get Solaris™ 8 System Administrator Exam Cram™ 2 (Exams CX-310-011 and CX-310-012) 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.