101-400 pack(41 to 50) for consumer: Jul 2017 Edition

we provide Guaranteed LPI 101-400 practice question which are the best for clearing 101-400 test, and to get certified by LPI LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2. The 101-400 Questions & Answers covers all the knowledge points of the real 101-400 exam. Crack your LPI 101-400 Exam with latest dumps, guaranteed!

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


Q42. - (Topic 3) 

What is the output of the following command? 

echo "Hello World" | tr -d aieou 

A. Hello World 

B. eoo 

C. Hll Wrld 

D. eoo Hll Wrld 

Answer:


Q43. - (Topic 4) 

How many fields are in a syntactically correct line of /etc/fstab? 

A. 3 

B. 4 

C. 5 

D. 6 

E. 7 

Answer:


Q44. - (Topic 1) 

Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.) 

A. shutdown -R 1 now 

B. shutdown -single now 

C. init 1 

D. telinit 1 

E. runlevel 1 

Answer: C,D 


Q45. - (Topic 3) 

Which of the following statements is correct regarding the command foo 1> bar? 

A. The stdout from the command foo is appended to the file bar. 

B. The stdout from the command foo overwrites the file bar. 

C. The command foo receives its stdin from the file bar. 

D. The command foo receives its stdin from the stdout of the command bar. 

E. The stderr from the command foo is saved to the file bar. 

Answer:


Q46. - (Topic 1) 

Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target? 

A. systemd.target=rescue.target 

B. systemd.runlevel=rescue.target 

C. systemd.service=rescue.target 

D. systemd.default=rescue.target 

E. systemd.unit=rescue.target 

Answer:


Q47. - (Topic 1) 

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init? 

A. /lib/init.so 

B. /sbin/init 

C. /etc/rc.d/rcinit 

D. /proc/sys/kernel/init 

E. /boot/init 

Answer:


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


Q49. - (Topic 4) 

Which of the following commands shows the definition of a given shell command? 

A. where 

B. stat 

C. type 

D. case 

Answer:


Q50. - (Topic 3) 

When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process? 

A. -10 

B. 0 

C. 10 

D. 20 

Answer: