100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

LPI Linux Essentials Questions And Answers

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
03-12-2024
Written in
2024/2025

LPI Linux Essentials LPI Linux Essentials LPI Linux Essentials

Institution
LPI Linux Essentials
Course
LPI Linux Essentials

Content preview

LPI Linux Essentials
Red Hat-based systems use what package file format and what management tools? ANS The package file
format is rpm.

The package management tool is yum (or dnf, in the case of Fedora).



What command could you use to create a new empty directory named "Test" in your current working
directory? ANS mkdir Test



The CentOS Linux distribution is based on what other distribution? ANS Red Hat



NGINX and Apache are two common open-source ___ _______. ANS Web servers



What is the difference between permissive and copyleft? ANS Copyleft is more restrictive in terms of
licensing derivative works.



Would you use a standard release or a rolling release distribution for an enterprise Linux server
installation? ANS Standard



What would the following line do if placed in a shell script?

# rm -rf * ANS Nothing — it's a comment ;-)



What does FLOSS stand for? ANS Free Libre Open-Source Software



What does 'cloud_user@ip-10-0-1-10 $' in the console mean? ANS The user cloud_user is logged into the
host ip-10-0-1-10, and the shell is running with normal user privileges ($) and ready for commands.



What command could you use to reference the documentation of a CLI utility? ANS man or info,
followed by the utility name

, To what variable would you add the path to a shell script so you could execute it without referencing the
path? ANS $PATH



What source does a Linux distribution typically use for installations? ANS The distribution's software
repository.



Does the useradd command create the home directory by default? ANS useradd merely sets the home
directory in /etc/passwd; it doesn't create it by default.



What command could you use to display command history? ANS history



What provides the basic utilities expected to exist on an operating system? ANS The GNU Core utilities



What can dpkg-based systems use for package management? ANS apt



What is the basic format of a for loop? ANS for VARIABLE in SOMETHING

do COMMANDS

done



Which utility can be used to search for a pattern or string? ANS grep



Which utility can be used to count the number of words in a file? ANS wc



What is the basic format of an if statement? ANS if [ SOME_TEST ]

then

SOME_COMMANDS

Written for

Institution
LPI Linux Essentials
Course
LPI Linux Essentials

Document information

Uploaded on
December 3, 2024
Number of pages
10
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
lectjoseph Harvard University
View profile
Follow You need to be logged in order to follow users or courses
Sold
69
Member since
2 year
Number of followers
23
Documents
5504
Last sold
3 days ago

learning is hard ,but with me it will be easier. Timely ,detailed and organized study guides and notes that will save you a lot of study time. Reviews are highly appreciated. Wishing you the best

3.7

9 reviews

5
4
4
1
3
2
2
1
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions