Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

LPI - Linux Essentials Questions and Answers Latest Update 100% Correct.

Document preview thumbnail
Preview 2 out of 7 pages

What command would you use to see all of the contents (but not ownership, permissions, ., or ..) of /tmp? - ️️ls -A /tmp Would you use a standard release or a rolling release distribution for an enterprise Linux server installation? - ️️Standard What command could you use to reference the documentation of a CLI utility? - ️️man or info, followed by the utility name Does the useradd command create the home directory by default? - ️️useradd merely sets the home directory in /etc/passwd; it doesn't create it by default. What is the basic format of a for loop? - ️️for VARIABLE in SOMETHING do COMMANDS done What does 'cloud_user@ip-10-0-1-10 $' in the console mean? - ️️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. Red Hat-based systems use what package file format and what management tools? - ️️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? - ️️mkdir Test The CentOS Linux distribution is based on what other distribution? - ️️Red Hat NGINX and Apache are two common open-source ___ _______. - ️️Web servers What would the following line do if placed in a shell script? # rm -rf * - ️️Nothing — it's a comment ;-) What does FLOSS stand for? - ️️Free Libre Open-Source SoftwareTo what variable would you add the path to a shell script so you could execute it without referencing the path? - ️️$PATH What source does a Linux distribution typically use for installations? - ️️The distribution's software repository. What command could you use to display command history? - ️️history What can dpkg-based systems use for package management? - ️️apt Which utility can be used to search for a pattern or string? - ️️grep Which utility can be used to count the number of words in a file? - ️️wc What is the basic format of an if statement? - ️️if [ SOME_TEST ] then SOME_COMMANDS fi How is Linux provisioned in the cloud? - ️️Through the Linux images supplied by the cloud provider. What command would you use to open the info page for ls? - ️️info ls How can a regular user elevate permissions for a particular command (if granted the ability in the /etc/sudoers file)? - ️️sudo What do we call the collection of data centers that provide compute, application, and storage services over the internet? - ️️The cloud! GPL is an example of what type of license? - ️️Copyleft How could you hide the file "file" from being shown in a directory listing? - ️️Change it to .file Which utilities can be used to print the contents of a file to the screen? - ️️cat less more What method/protocol do we use to securely connect to a remote Linux server? - ️️SSH (Secure Shell)Would you use Samba or NFS to share files with Windows users? - ️️Samba. (Samba is a file sharing service that uses CIFS for compatibility with Windows devices.) What command could you use to create a new empty file named "file1" in your current working directory

Content preview

LPI - Linux Essentials
What command would you use to see all of the contents (but not ownership,
permissions, ., or ..) of /tmp? - ✔️✔️ls -A /tmp

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

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

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

What is the basic format of a for loop? - ✔️✔️for VARIABLE in SOMETHING
do COMMANDS
done


What does 'cloud_user@ip-10-0-1-10 $' in the console mean? - ✔️✔️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.

Red Hat-based systems use what package file format and what management tools? -
✔️✔️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? - ✔️✔️mkdir Test

The CentOS Linux distribution is based on what other distribution? - ✔️✔️Red Hat

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


What would the following line do if placed in a shell script?
# rm -rf * - ✔️✔️Nothing — it's a comment ;-)

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

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

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


What command could you use to display command history? - ✔️✔️history


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

Which utility can be used to search for a pattern or string? - ✔️✔️grep

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

What is the basic format of an if statement? - ✔️✔️if [ SOME_TEST ]
then
SOME_COMMANDS
fi

How is Linux provisioned in the cloud? - ✔️✔️Through the Linux images supplied by
the cloud provider.

What command would you use to open the info page for ls? - ✔️✔️info ls


How can a regular user elevate permissions for a particular command (if granted the
ability in the /etc/sudoers file)? - ✔️✔️sudo

What do we call the collection of data centers that provide compute, application, and
storage services over the internet? - ✔️✔️The cloud!

GPL is an example of what type of license? - ✔️✔️Copyleft

How could you hide the file "file" from being shown in a directory listing? - ✔️✔️Change
it to .file

Which utilities can be used to print the contents of a file to the screen? - ✔️✔️cat
less
more

What method/protocol do we use to securely connect to a remote Linux server? -
✔️✔️SSH (Secure Shell)

Document information

Uploaded on
September 22, 2024
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$8.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
ACADEMICMATERIALS
4.0
(100)
Sold
622
Followers
185
Items
10510
Last sold
1 month ago




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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions