Which of the following commands can remove a user from a group?
A. grouprm
B. groupmod
C. passwd
D. usergroups
E. usermod
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.
When the command echo $$ outputs 12942, what is the meaning of 12942?
A. It is the process ID of the echo command.
B. It is the process ID of the current shell.
C. It is the process ID of the last command executed.
D. It is the process ID of the last command which has been placed in the background.
How can the current directory and its subdirectories be searched for the file named MyFile.xml?
A. find . -name MyFile.xml
B. grep MyFile.xml | find
C. grep -r MyFile.xml .
D. less MyFile.xml
E. search Myfile.xml ./
Which of the following files assigns a user to its primary group?
A. /etc/pgroup
B. /etc/shadow
C. /etc/group
D. /etc/passwd
E. /etc/gshadow
What is the purpose of the iconv command?
A. It converts bitmap images from one format to another such as PNG to JPEG.
B. It verifies that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS).
C. It displays additional meta information from icon files ending in .ico.
D. It changes the mode of an inode in the ext4 file system.
E. It converts files from one character encoding to another.
Which file contains the date of the last change of a user's password?
A. /etc/gshadow
B. /etc/passwd
C. /etc/pwdlog
D. /etc/shadow
E. /var/log/shadow
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.
After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?
A. A B
B. A B C
C. A C
D. B C
E. C B A
Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information? (Specify ONLY the option without any values or parameters.)
A. server
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Linux Foundation exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your LFCS exam preparations and Linux Foundation certification application, do not hesitate to visit our Vcedump.com to find your solutions here.