CompTIA Linux+ [Powered by LPI] - Exam 1 - LX0-103 Exam Practice Test
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
Correct Answer: A
Vote an answer
CORRECT TEXT
Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)
Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)
Correct Answer:
mkdir, /usr/bin/mkdir
How many fields are in a syntactically correct line of /etc/fstab?
Correct Answer: A
Vote an answer
What is the output of the following command?
echo "Hello World" | tr -d aieou
echo "Hello World" | tr -d aieou
Correct Answer: C
Vote an answer
Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?
Correct Answer: A
Vote an answer
Which of the following statements is correct when talking about /proc/?
Correct Answer: B
Vote an answer
After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?
Correct Answer: E
Vote an answer
CORRECT TEXT
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Correct Answer:
swapoff, /sbin/swapoff
What command will generate a list of user names from /etc/passwd along with their login shell?
Correct Answer: C
Vote an answer