http://https://www.newpassleader.com/Linux-Foundation/LFCS-exam-preparation-materials.html(260 Q&As Dumps, 30%OFF Special Discount: 30free )
NEW QUESTION NO: 5
Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)
A. --since
B. --from
C. --date
D. --upto
E. --until
Answer: A,E
NEW QUESTION NO: 6
SIMULATION
Which file lists which users can execute commands using sudo? (Specify the full name of the file, including path.)
Answer:
/etc/sudoers
NEW QUESTION NO: 7
Which character starts a comment line in a shell script file?
A. /
B. *
C. #
D. ;
Answer: C
NEW QUESTION NO: 8
Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?
A. quota
B. core
C. ulimit
D. edquota
Answer: C
NEW QUESTION NO: 9
Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)
A. Configure additional devices like new monitors or projectors when they are attached.
B. Handle the login of a user.
C. Lock the screen when the user was inactive for a configurable amount of time.
D. Start and prepare the desktop environment for the user.
E. Create an X11 configuration file for the current graphic devices and monitors.
Answer: B,D
NEW QUESTION NO: 10
Each entry in a crontab must end with what character?
A. Newline
B. Backslash
C. Space
D. Tab
Answer: A
NEW QUESTION NO: 11
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?
A. test1 test2
B. test1 script.sh
C. script.sh test2
D. script.sh test1
E. test2 test1
Answer: E
NEW QUESTION NO: 12
SIMULATION
Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)
Answer:
netstat -or- /bin/netstat -or- ss -or- /usr/bin/ss
NEW QUESTION NO: 13
What is the purpose of the command mailq?
A. It is a command-line based tool for reading and writing emails.
B. It queries the mail queue of the local MTA.
C. It is a multi-user mailing list manager.
D. It is a proprietary tool contained only in the qmail MTA.
E. It fetches new emails from a remote server using POP3 or IMAP.
Answer: B
NEW QUESTION NO: 14
What command will generate a list of user names from /etc/passwd along with their login shell?
A. colrm 1,7 /etc/passwd
B. column -s : 1,7 /etc/passwd
C. cut -d: -f1,7 /etc/passwd
D. chop -c 1,7 /etc/passwd
Answer: C
NEW QUESTION NO: 15
SIMULATION
Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)
Answer:
dpkg-reconfigure