Linux System Administration ll Quiz Questions and Answers

Which command protects a file from being renamed, moved, deleted, or modified?

Answer :
  • chattr +i filename

What command is used to kill all processes owned by a group with GID=1000?

Answer :
  • pkill -G 1000

What is the use of the command: "# rpm -Uvh RPM-name"

Answer :
  • to upgrade the kernel

"$ sudo udevadm control --reload" What is the command used for?

Answer :
  • to reload configuration

Which mode of SELinux does not deny access, but violations are logged actively?

Answer :
  • Permmissive

Lp0 device file is used to access?

Answer :
  • printer

The directory /srv contains?

Answer :
  • site-specific data which is served by the system

Which allows fast file system recovery?

Answer :
  • journally

File system for cdrom is/

Answer :
  • isofs

Which command is used to mount the file system read-only?

Answer :
  • mount -r