Oracle Linux 8: System Administration I Quiz Questions and Answers

# chmod 2755 [directory], what is the purpose for the same?

Answer :
  • to set SGID

How to find out the version of services and OS type, the remote machine's hostname?

Answer :
  • # nmap -A [hostname or address]

What is the place to store printing-related logs?

Answer :
  • /var/log/cups

The print or printf statements can be told to send their output to another place except for standard output, which is called____.

Answer :
  • redirection

Which command searches the string in the file opened in the vi editors?

Answer :
  •  / or ?

Which command is used to close the vi editor?

Answer :
  • <p>q!</p>

Which of the following statement is not true?

Answer :
  • Vi editor commands are not case sensitive.

Which command executes ‘command’ in place of the current process instead of creating a new process?

Answer :
  • exec

Which command identifies the resource of a command?

Answer :
  • which

What command can be used to check the RHEL 8 version and kernel version?

Answer :
  • <p>uname</p>