Linux Foundation CERTIFIED SYSTEM ADMINISTRATOR LFCS Exam Practice Test

Page: 1 / 14
Total 260 questions
Question 1

Which of the following commands displays the contents of a gzip compressed tar archive?



Answer : B


Question 2

Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)



Answer : B, D


Question 3

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



Answer : D


Question 4

Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)



Answer : C, D


Question 5

Which of the following commands can be used to create a USB storage media from a disk image?



Answer : B


Question 6

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?



Answer : B


Question 7

Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)

See Below Explanation:




Answer : A


Page:    1 / 14   
Total 260 questions