LFCS問題集最新版を今すぐ試そう![2024年01月] 試験準備には欠かせません!
有能な受験者がシミュレーション済みのLFCS試験PDF問題を試そう
質問 # 150
CORRECT TEXT
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
正解:
解説:
swapoff, /sbin/swapoff
質問 # 151
Which of the following commands redirects the output of cmd to the file foo.txt, in which an existing file is overwritten?
- A. cmd | foo.txt
- B. cmd >> foo.txt
- C. cmd || foo.txt
- D. cmd > foo.txt
- E. cmd && foo.txt
正解:D
質問 # 152
Which command will display the last line of the file foo.txt?
- A. tail -n 1 foo.txt
- B. head -n 1 foo.txt
- C. last -n 1 foo.txt
- D. tail foo.txt
正解:A
解説:
Explanation/Reference:
質問 # 153
CORRECT TEXT
Which command displays a list of allbackground tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
正解:
解説:
jobs
質問 # 154
How can the normal output of a command be written to a file while discarding the error output?
- A. command >2>file 1&>/dev/null
- B. command < output > /dev/null
- C. command > discard-error > file
- D. command > /dev/null 2&>1 output
- E. command >file 2>/dev/null
正解:E
質問 # 155
CORRECT TEXT
Which command will display messages from the kernel that were output during the normal
boot sequence?
正解:
解説:
dmesg, /bin/dmesg
質問 # 156
What is true regarding the file ~/.forward?
- A. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.
- B. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
- C. As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
- D. When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.
正解:D
質問 # 157
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. splash
- B. showmenu
- C. hidemenu
- D. timeout
正解:D
質問 # 158
How can the current directory and its subdirectories be searched for the file named MyFile.xml?
- A. grep -r MyFile.xml .
- B. grep MyFile.xml | find
- C. search Myfile.xml ./
- D. less MyFile.xml
- E. find . -name MyFile.xml
正解:E
解説:
Explanation/Reference:
質問 # 159
SIMULATION
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)
正解:
解説:
up
質問 # 160
What is the output of the following command sequence?
for token in a b c; do
echo -n "$token ";
done
- A. abc
- B. a b c
- C. anbncn
- D. token token token
- E. "a " "b " "c "
正解:B
質問 # 161
Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
- A. SIGINT
- B. SIGSTOP
- C. SIGKILL
- D. SIGTERM
正解:A
質問 # 162
CORRECT TEXT
Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)
正解:
解説:
hwclock, /sbin/hwclock, /usr/sbin/hwclock
質問 # 163
Which of the following commands can be used to download the RPM package kernel without installing it?
- A. yumdownloader kernel
- B. yum download --no-install kernel
- C. rpmdownload kernel
- D. rpm --download --package kernel
正解:A
質問 # 164
Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)
- A. chattr
- B. usermod
- C. passwd
- D. chsh
- E. chage
正解:B、C、E
質問 # 165
How many fields are in a syntactically correct line of /etc/fstab?
- A. 0
- B. 1
- C. 2
- D. 3
- E. 4
正解:C
質問 # 166
Given the following routing table:
How would an outgoing packet to the destination 192.168.2.150 be handled?
- A. It would be passed to the default router 255.255.255.0 on eth0.
- B. It would be directly transmitted on the device eth0.
- C. It would be passed to the router 192.168.1.1 on eth0.
- D. It would be passed to the default router 192.168.178.1 on wlan0.
- E. It would be directly transmitted on the device wlan0.
正解:C
質問 # 167
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
- A. result: 6 5 4
- B. result: 3 4 5 6 2 1
- C. result: 1 2 3 4 5 6
- D. result: 6 5 4 3 2 1
- E. result: 3 2 1
正解:B
質問 # 168
What does the command mount -a do?
- A. It mounts all filesystems listed in /etc/fstab which have the option auto set.
- B. It shows all mounted filesystems.
- C. It mounts all filesystems listed in /etc/fstab which have the option noauto set.
- D. It mounts all user mountable filesystems for the current user.
- E. It mounts all available filesystems onto the current directory.
正解:A
質問 # 169
Which of the following steps prevents a user from obtaining an interactive login session?
- A. Run the command chsh -s /bin/false with the user name.
- B. Create a .nologin file in the user's home directory.
- C. Remove the user from the group staff.
- D. Add the user to /etc/noaccess.
- E. Set the UID for the user to 0.
正解:A
質問 # 170
......
検証済み材料を使うならまずLFCSテストエンジンを試そう:https://www.jpntest.com/shiken/LFCS-mondaishu