Proper study guides for Most up-to-date CompTIA CompTIA Linux+ [Powered by LPI] 1 certified begins with CompTIA LX0-103 preparation products which designed to deliver the Certified LX0-103 questions by making you pass the LX0-103 test at your first time. Try the free LX0-103 demo right now.

2021 Mar LX0-103 exam cram

Q31. - (Topic 3) 

Regarding the command: 

nice -5 /usr/bin/prog 

Whichof the following statements is correct? 

A. /usr/bin/prog is executed with a nice level of -5. 

B. /usr/bin/prog is executed with a nice level of 5. 

C. /usr/bin/prog is executed with a priority of -5. 

D. /usr/bin/prog is executed with a priority of 5. 

Answer:


Q32. - (Topic 4) 

Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.) 

A. /sbin/mke2fs -j /dev/sdb1 

B. /sbin/mkfs -t ext3 /dev/sdb1 

C. /sbin/mkfs -c ext3 /dev/sdb1 

D. /sbin/mke3fs -j /dev/sdb1 

Answer: A,B 


Q33. - (Topic 3) 

What is the effect of the egrep command when the -v option is used? 

A. It enables color to highlight matching parts. 

B. It only outputs non-matching lines. 

C. It shows the command's version information. 

D. It changes the output order showing the last matching line first. 

Answer:


Q34. - (Topic 2) 

Which of the following commands is used to update the list of available packages when using dpkg based package management? 

A. apt-get update 

B. apt-get upgrade 

C. apt-cache update 

D. apt-get refresh 

E. apt-cache upgrade 

Answer:


Q35. - (Topic 4) 

Which of the following is the device file name for the second partition on the only SCSI drive? 

A. /dev/hda1 

B. /dev/sda2 

C. /dev/sd0a2 

D. /dev/sd1p2 

Answer:


Updated LX0-103 free practice test:

Q36. - (Topic 3) 

In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows? 

A. By using the command :repeat followed by the number and the command. 

B. By specifying the number right in front of a command such as 4l or 2yj. 

C. By selecting all affected lines using the shift and cursor keys before applying the command. 

D. By issuing a command such as :set repetition=4 which repeats every subsequent command 4 times. 

Answer:


Q37. - (Topic 2) 

Which of the following commands lists all currently installed packages when using RPM package management? 

A. yum --query --all 

B. yum --list --installed 

C. rpm --query --all 

D. rpm --list–installed 

Answer:


Q38. - (Topic 3) 

Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line? 

A. i (lowercase) 

B. P (uppercase) 

C. p (lowercase) 

D. U (uppercase) 

E. u (lowercase) 

Answer:


Q39. - (Topic 1) 

Which of the following kernel parameters instructs the kernel to suppress most boot messages? 

A. silent 

B. verbose=0 

C. nomesg 

D. quiet 

Answer:


Q40. - (Topic 3) 

Which of the following commands will reduce all consecutive spaces down to a single space? 

A. tr '\s' ' ' < a.txt > b.txt 

B. tr -c ' ' < a.txt > b.txt 

C. tr -d ' ' < a.txt > b.txt 

D. tr -r ' ' '\n' < a.txt > b.txt 

E. tr -s ' ' < a.txt > b.txt 

Answer: