Free LFCS Exam Braindumps (page: 30)

Page 29 of 66

Which of the following commands shows the current color depth of the X Server?

  1. xcd
  2. xcdepth
  3. xwininfo
  4. xcolordepth
  5. cat /etc/X11

Answer(s): C



Which of the following commands will set the variable text to olaf is home?(Choose two)

  1. text=olaf\ is\ home
  2. text=$olaf is home
  3. $text='olaf is home'
  4. text=='olaf is home'
  5. text="olaf is home"

Answer(s): A,E



What output will the following command sequence produce?
echo '1 2 3 4 5 6' | while read a b c; do
echo result: $c $b $a;
done

  1. result: 3 4 5 6 2 1
  2. result: 1 2 3 4 5 6
  3. result: 6 5 4
  4. result: 6 5 4 3 2 1
  5. result: 3 2 1

Answer(s): A



In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

  1. Without additional configuration, no users may have user specific crontabs.
  2. Without additional configuration, all users may have user specific crontabs.
  3. The cron daemon will refuse to start and report missing files in the system's logfile.
  4. When a user creates a user specific crontab the system administrator must approve it explicitly.

Answer(s): A






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

LFCS Discussions & Posts