Practice Questions

Question 1 Which of the following commands is used to determine when a particular login account was last used?
  • a. logins

  • b. last

  • c. whodo

  • d. ps

A1: Answer b is correct. The logins command displays attributes about login accounts, not the usage of the login accounts. Therefore, answer a is incorrect. The whodo and ps commands list information about processes. Therefore, answers c and d are incorrect.
Question 2 The /etc/syslog.conf file was modified to capture messages from a particular user application, but the log file still does not contain any of those messages. Which of the following reasons could explain this situation? (Select all that apply.)
  • a. A typographical error exists in the /etc/syslog.conf entry that was added.

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.