
Assume Linux Foundation LFCS Dumps PDF Are going to be The Best Score
Linux Foundation Certified LFCS Exam and Certification Test Engine
NEW QUESTION 123
CORRECT TEXT
After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)
Answer:
Explanation:
newaliases, sendmail -bi
NEW QUESTION 124
What is the purpose of the Filesystem Hierarchy Standard?
- A. It defines a common internal structure of inodes for all compliant filesystems.
- B. It is a distribution neutral description of locations of files and directories.
- C. It is a security model used to ensure files are organized according to their permissions and accessibility.
- D. It provides unified tools to create, maintain and manage multiple filesystems in a common way.
Answer: B
NEW QUESTION 125
How is a display manager started?
- A. It is started by inetd when a remote hosts connects to the X11 port.
- B. It is started like any other system service by the init system.
- C. It is started by a user using the command startx.
- D. It is started automatically when a X11 user logs in to the system console.
Answer: B
NEW QUESTION 126
Which of the following files, located in the user home directory, is used to store the Bash history?
- A. .bash_history
- B. .history
- C. .bashrc_history
- D. .history_bash
- E. .bash_histfile
Answer: A
NEW QUESTION 127
Which of the following commands can be used to create a USB storage media from a disk image?
- A. gdisk
- B. dd
- C. mount
- D. fdisk
- E. cc
Answer: B
NEW QUESTION 128
Which of the following commands will write a message to the terminals of all logged in users?
- A. mesg
- B. wall
- C. print
- D. yell
- E. bcast
Answer: B
NEW QUESTION 129
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
- A. SysInit
- B. startd
- C. Upstart
- D. SysV init
- E. systemd
Answer: C,D,E
NEW QUESTION 130
What is the correct command to extract the contents of the archive file download.bz2?
- A. unzip download.bz2
- B. unpack download.bz2
- C. uncompress download.bz2
- D. bunzip2 download.bz2
- E. unzip2 download.bz2
Answer: D
NEW QUESTION 131
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?
- A. find -user root +mode +s /usr
- B. find -type suid -username root -d /usr
- C. find /usr -uid 0 -perm +4000
- D. find /usr -ls \*s\* -u root
- E. find /usr -suid -perm +4000
Answer: C
NEW QUESTION 132
CORRECT TEXT
Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)
Answer:
Explanation:
up
NEW QUESTION 133
Which of the following commands lists all defined variables and functions within Bash?
- A. echo $ENV
- B. env
- C. env -a
- D. set
Answer: D
NEW QUESTION 134
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?
- A. hidemenu
- B. splash
- C. showmenu
- D. timeout
Answer: D
NEW QUESTION 135
Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?
- A. 30 0-23 * * 0 myscript
- B. 0 0-23 * * 30 myscript
- C. 30 * * * 6 myscript
- D. 0 * * * 30 myscript
- E. 30 0 * * 0 myscript
Answer: A
NEW QUESTION 136
Which of the following commands will set the variable text to olaf is home? (Choose two)
- A. text=='olaf is home'
- B. text="olaf is home"
- C. text=$olaf is home
- D. text=olaf\ is\ home
- E. $text='olaf is home'
Answer: B,D
NEW QUESTION 137
Creating a hard link to an ordinary file returns an error. What could be the reason for this?
- A. The source and the target are on different filesystems.
- B. The source file is read-only.
- C. The source file is already a hard link.
- D. The source file is a shell script.
- E. The source file is hidden.
Answer: A
Explanation:
Explanation/Reference:
NEW QUESTION 138
Which of the following commands can be used to limit the amount of memory a user may use?
- A. usermod
- B. ulimit
- C. umask
- D. passwd
- E. chage
Answer: B
NEW QUESTION 139
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?
- A. ext3
- B. ext4
- C. XFS
- D. ext2
- E. VFAT
Answer: D
NEW QUESTION 140
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 script.sh
- B. script.sh test1
- C. script.sh test2
- D. test2 test1
- E. test1 test2
Answer: D
NEW QUESTION 141
Which file contains the date of the last change of a user's password?
- A. /var/log/shadow
- B. /etc/shadow
- C. /etc/passwd
- D. /etc/gshadow
- E. /etc/pwdlog
Answer: B
NEW QUESTION 142
Which configuration file would be edited to change the default options for outbound SSH sessions?
- A. /etc/ssh/sshd_config
- B. /etc/ssh/ssh_client
- C. /etc/ssh/ssh
- D. /etc/ssh/ssh_config
- E. /etc/ssh/client
Answer: D
NEW QUESTION 143
What is the default nice level when a process is started using the nice command?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: C
NEW QUESTION 144
......
Use LFCS Exam Dumps (2023 PDF Dumps) To Have Reliable LFCS Test Engine: https://passleader.free4dump.com/LFCS-real-dump.html