Cause all that matters here is passing the Linux Foundation LFCS exam. Cause all that you need is a high score of LFCS Linux Foundation Certified System Administrator exam. The only one thing you need to do is downloading Testking LFCS exam study guides now. We will not let you down with our money-back guarantee.

Q106. Which of the following statements is correct regarding the command foo 1> bar?

A. The stdout from the command foo is appended to the file bar.

B. The stdout from the command foo overwrites the file bar.

C. The commandfoo receives its stdin from the file bar.

D. The command foo receives its stdin from the stdout of the command bar.

E. The stderr from the command foo is saved to the file bar.

Answer: B


Q107. CORRECT TEXT

What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

Answer: menu.lst, grub.conf, grub.cfg


Q108. Which of the following commands will create an archive file, named backup.tar, containing all the files from the directory /home?

A. tar /home backup.tar

B. tar -cf /home backup.tar

C. tar -xf /home backup.tar

D. tar -xf backup.tar /home

E. tar -cf backup.tar /home

Answer: E


Q109. Which of the following commands can be used to limit the amount of memory a user may use?

A. umask

B. usermod

C. ulimit

D. passwd

E. chage

Answer: C


Q110. Which character starts a comment line in a shell script file?

A. ;

B. *

C. #

D. /

Answer: C


Q111. Which of the following commands updates the linker cache of shared libraries?

A. mkcache

B. soconfig

C. mkldconfig

D. lddconfig

E. ldconfig

Answer: E


Q112. Which of the following commands lists all currently installedpackages when using RPM package management?

A. yum --query --all

B. yum --list --installed

C. rpm --query --all

D. rpm --list –installed

Answer: C


Q113. How is a display manager started?

A. It is started by a user using the command startx.

B. It is started like any other system service by the init system.

C. It is started by inetd when a remote hosts connects to the X11 port.

D. It is started automatically when a X11 user logs in to the system console.

Answer: B


Q114. CORRECT TEXT

With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)

Answer: DISPLAY, $DISPLAY


Q115. Which of the following shell redirections will write standard output and standard error output to a file named filename?

A. 2>&1 >filename

B. >filename 2>&1

C. 1>&2>filename

D. >>filename

E. 1&2>filename

Answer: B


Q116. Which of the following commands lists all defined variables and functions within Bash?

A. env

B. set

C. env -a

D. echo $ENV

Answer: B


Q117. Regarding the command: nice -5 /usr/bin/prog

Which of the following statements is correct?

A. /usr/bin/prog is executed with a nice level of -5.

B. /usr/bin/prog is executed with a nice level of 5.

C. /usr/bin/prog is executed with a priority of -5.

D. /usr/bin/prog is executed with a priority of 5.

Answer: B


Q118. Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?

A. export LANGUAGE="pt"

B. export MESSAGE="pt"

C. export UI_MESSAGES="pt"

D. export LC_MESSAGES="pt"

E. export ALL_MESSAGES="pt"

Answer: D


Q119. What is true regarding the file ~/.forward?

A. As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.

B. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.

C. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.

D. When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.

Answer: D


Q120. What is the output of the following command sequence?

for token in a b c; do echo -n "$token "; done

A. anbncn

B. a b c

C. "a " "b " "c "

D. token token token

E. abc

Answer: B