The package file format is rpm.
Red Hat-based systems use what package file format and
The package management tool is yum (or dnf, in the case
what management tools?
of Fedora).
What command could you use to create a new empty
mkdir Test
directory named "Test" in your current working directory?
The CentOS Linux distribution is based on what other
Red Hat
distribution?
NGINX and Apache are two common open-source
Web servers
.
Copyleft is more restrictive in terms of licensing derivative
What is the ditterence between permissive and copyleft?
works.
Would you use a standard release or a rolling release
Standard
distribution for an enterprise Linux server installation?
What would the following line do if placed in a shell
script? Nothing — it's a comment ;-)
# rm -rf *
What does FLOSS stand for? Free Libre Open-Source Software
The user cloud_user is logged into the host ip-10-0-1-10,
What does 'cloud_user@ip-10-0-1-10 $' in the console
and the shell is running with normal user privileges ($)
mean?
and ready for commands.
What command could you use to reference the documen-
man or info, followed by the utility name
tation of a CLI utility?
To what variable would you add the path to a shell script
$PATH
so you could execute it without referencing the path?
What source does a Linux distribution typically use for
The distribution's software repository.
installations?
Does the useradd command create the home directory by useradd merely sets the home directory in /etc/passwd; it
default? doesn't create it by default.
1/8
, LPI - Linux Essentials Test Questions and Answers Rated A
What command could you use to display command his-
history
tory?
What provides the basic utilities expected to exist on an
The GNU Core utilities
operating system?
What can dpkg-based systems use for package manage-
apt
ment?
for VARIABLE in SOMETHING
What is the basic format of a for loop? do COMMANDS
done
Which utility can be used to search for a pattern or string? grep
Which utility can be used to count the number of words
wc
in a file?
if [ SOME_TEST ]
then
What is the basic format of an if statement?
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
info ls
ls?
What command would you use to see all of the contents
ls -A /tmp
(but not ownership, permissions, ., or ..) of /tmp?
How can a regular user elevate permissions for a partic-
ular command (if granted the ability in the /etc/sudoers sudo
file)?
What do we call the collection of data centers that provide
compute, application, and storage services over the inter- The cloud!
net?
2/8