Free LFCS Exam Braindumps
Linux Foundation Certified System Administrator Questions 111–115 (page: 24)

Updated On: 10-Feb-2026

CORRECT TEXT
Which command is used to create and initialize the files used to store quota information? (Specify ONLY the commandwithout any path or parameters.)

  1. quotacheck

Answer(s): A



The script, script.sh, consists of the following lines:
#!/bin/bash
echo $2 $1
Which output will appear if the command, ./script.sh test1 test2, is entered?

  1. test1 test2
  2. test2 test1
  3. script.sh test2
  4. script.sh test1
  5. test1 script.sh

Answer(s): B



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



Viewing page 24 of 53
Viewing questions 116 - 120 out of 260 questions


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

AI Tutor AI Tutor 👋 I’m here to help!