CentOS 8 Linux Administration - Level I Quiz Questions and Answers

What does rwxr-xr-- means in octal?

Answer :
  • 754

What is the ssh command?

Answer :
  • It is the secure shell; it is used to connect to remote hosts via an authenticated and encrypted channel.

What is the right command to save file and exit in Vim?

Answer :
  • :wq

What is a zombie process?

Answer :
  • A zombie process is a process which has terminated, but whose parent had not yet read its exit status.

What is the type command used for?

Answer :
  • type determines the type of a command (shell builtin, alias, file on hard disk)

What type of file does the /etc folder contain?

Answer :
  • Configuration files for services and systems

Which command(s) is/are used to get help about a command in Linux?

Answer :
  • Both a and b

What is the purpose of id command?

Answer :
  • Print effective and real UID and GID

What is the output of the following command? rpm –qa

Answer :
  • Queries the RPM database and lists all installed packages

What does the pwd command do?

Answer :
  • It prints the path of the current working directory