Breathing of 101-400 exam price materials and samples for LPI certification for IT learners, Real Success Guaranteed with Updated 101-400 pdf dumps vce Materials. 100% PASS LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 exam Today!

Q41. - (Topic 2) 

Which RPM command will output the name of the package which supplied the file /etc/exports? 

A. rpm -F /etc/exports 

B. rpm -qf /etc/exports 

C. rpm -Kl /etc/exports 

D. rpm -qp /etc/exports 

E. rpm -qi /etc/exports 

Answer:


Q42. - (Topic 4) 

Which of the following commands makes /bin/foo executable by everyone but writable only by its owner? 

A. chmod u=rwx,go=rx /bin/foo 

B. chmod o+rwx,a+rx /bin/foo 

C. chmod 577 /bin/foo 

D. chmod 775 /bin/foo 

Answer:


Q43. - (Topic 1) 

Which of the following statements is correct when talking about /proc/? 

A. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot. 

B. All files within /proc/ are read-only and their contents cannot be changed. 

C. All changes to files in /proc/ are immediately recognized by the kernel. 

D. All files within /proc/ are only readable by the root user. 

Answer:


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


Q45. - (Topic 3) 

Which of the following shell redirections will write standard output and standard error output to a file named filename? 

A. 2>&1 >filename 

B. >filename 2>&1 

C. 1>&2>filename 

D. >>filename 

E. 1&2>filename 

Answer:


Q46. - (Topic 2) 

What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.) 

A. To create RAID 9 arrays. 

B. To dynamically change the size of logical volumes. 

C. To encrypt logical volumes. 

D. To create snapshots. 

E. To dynamically create or delete logical volumes. 

Answer: B,D,E 


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


Q48. - (Topic 3) 

Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard? 

A. SIGTERM 

B. SIGINT 

C. SIGSTOP 

D. SIGKILL 

Answer:


Q49. CORRECT TEXT - (Topic 3) 

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 


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