Want to know Testking LX0-103 Exam practice test features? Want to lear more about CompTIA CompTIA Linux+ [Powered by LPI] 1 certification experience? Study Accurate CompTIA LX0-103 answers to Latest LX0-103 questions at Testking. Gat a success with an absolute guarantee to pass CompTIA LX0-103 (CompTIA Linux+ [Powered by LPI] 1) test on your first attempt.

Q1. CORRECT TEXT - (Topic 3) 

CompTIA LX0-103 : Practice Test 

Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.) 

Answer: HISTFILE 


Q2. - (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:


Q3. - (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:


Q4. - (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 


Q5. CORRECT TEXT - (Topic 1) 

Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.) 

Answer: cmdline, /proc/cmdline 


Q6. - (Topic 2) 

When removing a package, which of the following dpkg options will completely remove the files including configuration files? 

A. --clean 

B. --delete 

C. --purge 

D. –remove 

Answer:


Q7. - (Topic 2) 

Which file should be edited to select the network locations from which Debian installation package files are loaded? 

A. /etc/dpkg/dpkg.cfg 

B. /etc/apt/apt.conf 

C. /etc/apt/apt.conf.d 

D. /etc/apt/sources.list 

E. /etc/dpkg/dselect.cfg 

Answer:


Q8. - (Topic 3) 

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.) 

A. source /usr/local/bin/runme.sh 

B. . /usr/local/bin/runme.sh 

C. /bin/bash /usr/local/bin/runme.sh 

D. /usr/local/bin/runme.sh 

E. run /usr/local/bin/runme.sh 

Answer: A,B 


Q9. - (Topic 3) 

Which grep command will print only the lines that do not end with a / in the file foo? 

A. grep '/$' foo 

B. grep '/#' foo 

C. grep -v '/$' foo 

D. grep -v '/#' foo 

Answer:


Q10. - (Topic 1) 

Which of the following are init systems used within Linux systems? (Choose THREE correct answers.) 

A. startd 

B. systemd 

C. Upstart 

D. SysInit 

E. SysV init 

Answer: B,C,E