★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions

Free Instant Download NEW LX0-103 Exam Dumps (PDF & VCE):
Available on: https://www.certleader.com/LX0-103-dumps.html


Act now and download your CompTIA LX0-103 test today! Do not waste time for the worthless CompTIA LX0-103 tutorials. Download Refresh CompTIA CompTIA Linux+ [Powered by LPI] 1 exam with real questions and answers and begin to learn CompTIA LX0-103 with a classic professional.

Q21. - (Topic 2) 

Which of the following commands lists the dependencies of a given dpkg package? 

A. apt-cache depends-on package 

B. apt-cache dependencies package 

C. apt-cache depends package 

D. apt-cache requires package 

Answer:


Q22. - (Topic 3) 

In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories? 

A. -dirmax 

B. -maxdepth 

C. -maxlevels 

D. -n 

E. -s 

Answer:


Q23. - (Topic 4) 

After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.) 

A. By creating an ACL redirection from the old to the new path of the data. 

B. By creating a hard link from the old to the new path of the data. 

C. By creating a symbolic link from the old to the new path of the data. 

D. By running the command touch on the old path. 

E. By mounting the new filesystem on the original path of the data. 

Answer: C,E 


Q24. - (Topic 3) 

In Bash, inserting 1>&2 after a command redirects 

A. standard error to standard input. 

B. standard input to standard error. 

C. standard output to standard error. 

D. standard error to standard output. 

E. standard output to standard input. 

Answer:


Q25. - (Topic 4) 

Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.) 

A. ext3 

B. JFS 

C. ext2 

D. XFS 

E. procfs 

Answer: A,C 


Q26. CORRECT TEXT - (Topic 2) 

Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.) 

Answer: swapoff, /sbin/swapoff 


Q27. - (Topic 3) 

Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt? 

A. file /tmp/myfile.txt 

B. echo "Hello" >/tmp/myfile.txt 

C. sed -ie "s/1/2/" /tmp/myfile.txt 

D. echo -n "Hello" >>/tmp/myfile.txt 

E. touch /tmp/myfile.txt 

Answer:


Q28. - (Topic 3) 

What is the default action of the split command on an input file? 

A. It will break the file into new files of 1,024 byte pieces each. 

B. It will break the file into new files of 1,000 line pieces each. 

C. It will break the file into new files of 1,024 kilobyte pieces each. 

D. It will break the file into new files that are no more than 5% of the size of the original file. 

Answer:


Q29. - (Topic 3) 

Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter? 

A. sed '/bob/Bob' letter > newletter 

B. sed s/bob/Bob/ letter < newletter 

C. sed 's/bob/Bob' letter > newletter 

D. sed 's/bob/Bob/g' letter > newletter 

E. sed 's/bob, Bob/' letter > newletter 

Answer:


Q30. - (Topic 4) 

Which of the following commands changes the ownership of file.txt to the user dan and the group staff? 

A. chown dan/staff file.txt 

B. chown dan:staff file.txt 

C. chown -u dan -g staff file.txt 

D. chown dan -g staff file.txt 

Answer: