L-120 Linux Fundamentals Quiz Questions and Answers

Which command changes a file’s group owner?

Answer :
  • chgrp

An awk program can be run by?

Answer :
  • All of the mentioned

BASH shell stands for?

Answer :
  • Bourne-again Shell

When should programs be configured SUID root?

Answer :
  • Only when they require root privileges to do their job

From Vi’s command mode, you want to enter insert mode. How might you do this? (Select three)

Answer :
  • Type R.
  • Type i.
  • Type a.

You’ve set your system (software) clock on a Linux-only computer to the correct time, and now you want to set the hardware clock to match. What command might you type to accomplish this goal?

Answer :
  • hwclock --utc --systohc

Which servers might you consider retiring after activating an SSH server? (Select two)

Answer :
  • Telnet
  • FTP

You type jobs at a bash command prompt and receive a new command prompt with no intervening output. What can you conclude?

Answer :
  • No background processes are running that were launched from the shell you’re using.

You discover that an MBR hard disk has partitions with type codes of 0x0f, 0x82, and 0x83. Assuming these type codes are accurate, what can you conclude about the disk?

Answer :
  • The disk holds a partial or complete Linux system.

What information about print jobs does the lpq command display? (Select two.)

Answer :
  • A numerical job ID that can be used to manipulate the job
  • The username of the person who submitted the job