Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > Lpi > LPI Certifications > 101-400 > 101-400 Online Practice Questions and Answers

101-400 Online Practice Questions and Answers

Questions 4

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

Buy Now

Correct Answer: B

Questions 5

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

Buy Now

Correct Answer: C

Questions 6

What command will generate a list of user names from /etc/passwd along with their login shell?

A. column -s : 1,7 /etc/passwd

B. chop -c 1,7 /etc/passwd

C. colrm 1,7 /etc/passwd

D. cut -d: -f1,7 /etc/passwd

Buy Now

Correct Answer: D

Questions 7

A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?

A. rmdir '~/\dir'

B. rmdir "~/\dir"

C. rmdir ~/'dir'

D. rmdir ~/\dir

E. rmdir ~/\\dir

Buy Now

Correct Answer: D

Questions 8

What is the difference between the i and a commands of the vi editor?

A. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modes automatically.

B. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.

C. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.

D. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.

Buy Now

Correct Answer: B

Questions 9

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

A. 2>and1 >filename

B. >filename 2>and1

C. 1>and2>filename

D. >>filename

E. 1and2>filename

Buy Now

Correct Answer: B

Questions 10

When piping the output of find to the xargs command, what option to find is useful if the filenames have spaces in them?

A. –rep-space

B. –print0

C. –nospace

D. –ignore-space

Buy Now

Correct Answer: B

Questions 11

Which command will uninstall a package but leave its configuration files in case the package is re-installed?

A. dpkg –s pkgname

B. dpkg –L pkgname

C. dpkg –P pkgname

D. dpkg –r pkgname

Buy Now

Correct Answer: D

Questions 12

How is a symbolic link called bar.conf pointing to foo.conf created?

A. ln –s foo.conf bar.conf

B. ln foo.conf bar.conf

C. ln –s bar.conf foo.conf

D. ln bar.conf foo.conf

Buy Now

Correct Answer: A

Questions 13

Which permissions and ownership should the file /etc/passwd have?

A. -rw-------1 rootroot531 Jun 5 22:45 /etc/passwd

B. -rw-r--r--1 rootroot531 Jun 5 22:45 /etc/passwd

C. -rw-r--r--1 11531 Jun 5 22:45 /etc/passwd

D. -rw-------1 11531 Jun 5 22:45 /etc/passwd

Buy Now

Correct Answer: B

Exam Code: 101-400
Exam Name: LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2
Last Update: Jun 12, 2025
Questions: 179

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2025 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.