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 Test with Answers Graded A

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
25-07-2025
Written in
2024/2025

Red Hat-based systems use what package file format and what management tools? - ANSWER -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? - ANSWER -mkdir Test The CentOS Linux distribution is based on what other distribution? - ANSWER -Red Hat NGINX and Apache are two

Show more Read less
Institution
LPI - Linux Essentials
Course
LPI - Linux Essentials

Content preview

LPI - Linux Essentials Test with Answers Graded A
Red Hat-based systems use what package file format and documentation of a CLI utility? - ANSWER -man or
what management tools? - ANSWER -The package info, followed by the utility name
file format is rpm.
The package management tool is yum (or dnf, in the case
of Fedora).
To what variable would you add the path to a shell script
so you could execute it without referencing the path? -
ANSWER -$PATH
What command could you use to create a new empty
directory named "Test" in your current working directory? -
ANSWER -mkdir Test
What source does a Linux distribution typically use for
installations? - ANSWER -The distribution's software
repository.
The CentOS Linux distribution is based on what other
distribution? - ANSWER -Red Hat

Does the useradd command create the home directory by
default? - ANSWER -useradd merely sets the home
NGINX and Apache are two common open-source ___ directory in /etc/passwd; it doesn't create it by default.
_______. - ANSWER -Web servers


What command could you use to display command
What is the difference between permissive and copyleft? - history? - ANSWER -history
ANSWER -Copyleft is more restrictive in terms of
licensing derivative works.

What provides the basic utilities expected to exist on an
operating system? - ANSWER -The GNU Core
Would you use a standard release or a rolling release utilities
distribution for an enterprise Linux server installation? -
ANSWER -Standard

What can dpkg-based systems use for package
management? - ANSWER -apt
What would the following line do if placed in a shell script?
# rm -rf * - ANSWER -Nothing — it's a comment ;-)

What is the basic format of a for loop? - ANSWER -
for VARIABLE in SOMETHING
What does FLOSS stand for? - ANSWER -Free do COMMANDS
Libre Open-Source Software done



What does 'cloud_user@ip-10-0-1-10 $' in the console Which utility can be used to search for a pattern or string?
mean? - ANSWER -The user cloud_user is logged - ANSWER -grep
into the host ip-10-0-1-10, and the shell is running with
normal user privileges ($) and ready for commands.

Which utility can be used to count the number of words in
a file? - ANSWER -wc
What command could you use to reference the
1/6

, LPI - Linux Essentials Test with Answers Graded A

What method/protocol do we use to securely connect to a
What is the basic format of an if statement? - remote Linux server? - ANSWER -SSH (Secure
ANSWER -if [ SOME_TEST ] Shell)
then
SOME_COMMANDS
fi
Would you use Samba or NFS to share files with Windows
users? - ANSWER -Samba. (Samba is a file sharing
service that uses CIFS for compatibility with Windows
How is Linux provisioned in the cloud? - ANSWER - devices.)
Through the Linux images supplied by the cloud provider.


What command could you use to create a new empty file
What command would you use to open the info page for named "file1" in your current working directory? -
ls? - ANSWER -info ls ANSWER -touch file1



What command would you use to see all of the contents What happens to a symbolic link if the target file is moved
(but not ownership, permissions, ., or ..) of /tmp? - or deleted? - ANSWER -Nothing; the link persists but
ANSWER -ls -A /tmp the old destination is no longer reachable.



How can a regular user elevate permissions for a What command(s) could you use to view all running
particular command (if granted the ability in the processes? - ANSWER -ps aux
/etc/sudoers file)? - ANSWER -sudo ps -eF
(lots of other options)


What do we call the collection of data centers that provide
compute, application, and storage services over the What command could you use to create a new directory
internet? - ANSWER -The cloud! called "Test" in the /tmp folder? - ANSWER -mkdir
/tmp/Test


GPL is an example of what type of license? -
ANSWER -Copyleft What commands could you use to resolve
www.example.com to an IP address? - ANSWER -
host www.example.com
dig www.example.com
How could you hide the file "file" from being shown in a
directory listing? - ANSWER -Change it to .file

What directory's contents are cleared upon system boot? -
ANSWER -/tmp
Which utilities can be used to print the contents of a file to
the screen? - ANSWER -cat
less
more Shell scripts start with what sequence? - ANSWER -
#!

2/6

Written for

Institution
LPI - Linux Essentials
Course
LPI - Linux Essentials

Document information

Uploaded on
July 25, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

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.
learndirect Liberty University
View profile
Follow You need to be logged in order to follow users or courses
Sold
45
Member since
1 year
Number of followers
10
Documents
3339
Last sold
1 month ago
Learndirect

Here You will All Documents, and Package Deal Offered By Seller Learndirect.

3.3

6 reviews

5
3
4
0
3
1
2
0
1
2

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