Oracle Linux 7: Advanced Administration Quiz Questions and Answers

The /etc/passwd file doesn't contain which of the following?

Answer :
  • none of the mentioned

Which command enables you to get information about password properties such as password expiry?

Answer :
  • chage -l

Which of the following shows correct syntax to change the priority for the current process with PID 1234?

Answer :
  • renice 5 -p 1234

Which of the following directories have read and execute permissions set for the owner and group only?

Answer :
  • dr-xr-x---

Which command puts a script to sleep until a signal is received?

Answer :
  • suspend

Which command identifies the resource of a command?

Answer :
  • which

Which command is used to close the vi editor?

Answer :
  • both q and wq

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

Answer :
  •  / or ?

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

Answer :
  • exec

Which command is used to bring the background process to the foreground?

Answer :
  • fg