Free Lpi 101-350 Practice Test & Real Exam Questions
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
Correct Answer: B
Vote an answer
Identify the proper device for the second partition on the only SCSI drive on the system.
Correct Answer: C
Vote an answer
Which of the following commands will print the first few lines of a text file to the shell?
Correct Answer: C
Vote an answer
Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?
Correct Answer: E
Vote an answer
Which of the following commands will write a message to the terminals of all logged in users?
Correct Answer: C
Vote an answer
CORRECT TEXT
Typically, which top level system directory is used for files and data that change regularly while the system is running and are to be kept between reboots? (Specify only the top level directory)
Typically, which top level system directory is used for files and data that change regularly while the system is running and are to be kept between reboots? (Specify only the top level directory)
Correct Answer:
/var, /var/, var, var/
Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?
Correct Answer: C
Vote an answer
What is the purpose of the Bash built-in export command?
Correct Answer: E
Vote an answer
CORRECT TEXT
The system configuration file named _______ is commonly used to set the default runlevel. (Please provide the file name with full path information)
The system configuration file named _______ is commonly used to set the default runlevel. (Please provide the file name with full path information)
Correct Answer:
/etc/inittab
What is the difference between the i and a commands of the vi editor?
Correct Answer: A
Vote an answer
What is the effect of the egrep command when the -v option is used?
Correct Answer: C
Vote an answer
