Practicetest 117-102 Lpi cert24
IT Exam,IT Certification,braindump,original questions, question pool,document, braindump, test questions, test question, dumps, test answers, cert24.com, preparation, pdf, certification questions, answers Certification, certification test, practice test, exam dumps, certification training, answers real questions
117-102 General Linux, Part 2 our products come with a 100% guarantee of success. We hold this claim because of the highly dedicated and expert team that we have and because of our past performance.
Practicetest 117-102 Lpi cert24
QUESTION 1
What is the purpose of the bash built-in export command
A. To allow disks to be mounted remotely
B. To run a command as a process in a sub-shell
C. To make the command history available to sub-shells
D. To setup environment variables for applications
E. To share NFS partitions for use by other systems on the network
Answer: D
Explanation/Reference:
From the man pages:
export -p The supplied names are marked for automatic export to the environment of subsequently executed commands. If the -f option is given, the names refer to functions. If no names are given, or if the -p option is supplied, a list of all names that are exported in this shell is printed. The -n option causes the export property to be removed from each name. If a variable name is followed by =word, the value of the variable is set to word.
QUESTION 2
Your /etc/passwd file appears to have approximately half shadow passwords and half standard unix excrypted passwords. What utility would you most likely run to fix this?
A. pwconv
B. passconvert
C. useradd -conv
D. pwhash
E. passwd -fix
Answer: A
Explanation/Reference:
From the man pages:
The pwconv command creates shadow from passwd and an optionally existing shadow.
QUESTION 3
Where are the default settings for the useradd command kept?
A. /etc/default/useradd
B. /etc/.useradd
C. /etc/defauls/useradd
D. /etc/sysconfig/useradd.cfg
Answer: A
Practicetest 117-102 Lpi cert24