LPI Linux Essentials PASSED Actual Exam Questions and CORRECT Answers
2 views 0 purchase
Course
LPI Linux Essentials
Institution
LPI Linux Essentials
LPI Linux Essentials PASSED Actual
Exam Questions and CORRECT Answers
Red Hat-based systems use what package file format and what management tools? -
CORRECT 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 ...
LPI Linux Essentials PASSED Actual
Exam Questions and CORRECT Answers
Red Hat-based systems use what package file format and what management tools? -
CORRECT 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? - CORRECT ANSWER✔✔- mkdir Test
The CentOS Linux distribution is based on what other distribution? - CORRECT
ANSWER✔✔- Red Hat
NGINX and Apache are two common open-source ___ _______. - CORRECT
ANSWER✔✔- Web servers
What is the difference between permissive and copyleft? - CORRECT ANSWER✔✔-
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? - CORRECT ANSWER✔✔- Standard
What would the following line do if placed in a shell script?
What does FLOSS stand for? - CORRECT ANSWER✔✔- Free Libre Open-Source Software
What does 'cloud_user@ip-10-0-1-10 $' in the console mean? - CORRECT ANSWER✔✔-
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? - CORRECT
ANSWER✔✔- 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? - CORRECT ANSWER✔✔- $PATH
What source does a Linux distribution typically use for installations? - CORRECT
ANSWER✔✔- The distribution's software repository.
Does the useradd command create the home directory by default? - CORRECT
ANSWER✔✔- 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? - CORRECT ANSWER✔✔-
history
What provides the basic utilities expected to exist on an operating system? - CORRECT
ANSWER✔✔- The GNU Core utilities
What can dpkg-based systems use for package management? - CORRECT ANSWER✔✔-
apt
What is the basic format of a for loop? - CORRECT ANSWER✔✔- for VARIABLE in
SOMETHING
do COMMANDS
done
Which utility can be used to search for a pattern or string? - CORRECT ANSWER✔✔- grep
Which utility can be used to count the number of words in a file? - CORRECT
ANSWER✔✔- wc
What is the basic format of an if statement? - CORRECT ANSWER✔✔- if [ SOME_TEST ]
then
SOME_COMMANDS
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller MGRADES. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $8.99. You're not tied to anything after your purchase.