Free LFCS Exam Braindumps (page: 19)

Page 18 of 66

Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?

  1. hidemenu
  2. splash
  3. timeout
  4. showmenu

Answer(s): C



Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?

  1. sed '/bob/Bob' letter >newletter
  2. sed s/bob/Bob/ letter < newletter
  3. sed 's/bob/Bob' letter > newletter
  4. sed 's/bob/Bob/g' letter > newletter
  5. sed 's/bob, Bob/' letter > newletter

Answer(s): D



Regarding the command:
nice -5 /usr/bin/prog
Which of the following statements is correct?

  1. /usr/bin/prog is executed with a nice level of -5.
  2. /usr/bin/prog is executed with a nice level of 5.
  3. /usr/bin/prog is executed with a priority of -5.
  4. /usr/bin/prog is executed with a priority of 5.

Answer(s): B



Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

  1. *
  2. -
  3. s
  4. x

Answer(s): D






Post your Comments and Discuss Linux Foundation LFCS exam with other Community members:

LFCS Discussions & Posts