Linux Midterm Chapters 1-4 Questions With Complete
Solutions
A calendar for the current month can be shown on the command
line by issuing which command?
date
cal
w
id Correct Answer cal
Abdul wishes to view the contents of a binary data file in his
home directory to learn more about what program was used to
create it. Which of the following commands would allow Abdul
to safely view the contents of this file?
strings
file
grep
cat Correct Answer strings
After a shell is no longer needed, what command can be given to
exit the shell?
exit
stop
reset
quit Correct Answer exit
After installing a new Linux system, Joel attempts to search the
manual pages by keyword but no results are displayed. What
command should Joel run to remedy the issue?
,makewhatis
mandb
info
man -k Correct Answer mandb
Alexis is installing Linux on a new server system that will be
used as a print server. Which directory should Alexis choose to
create as a separate filesystem during the installation to ensure
that the print server cannot use space on the / filesystem?
/var
/usr
/home
/opt Correct Answer /var
Amir is unfamiliar with Linux and would like to obtain physical
help installing Linux on his laptop computer. What resource
would best suit Amir's needs?
online forum
LUG
Linux information website
social media website Correct Answer LUG
An archive of files that usually contains source code or scripts
that can be used to install software is referred to as a:
,Andre uses an Apple laptop and wishes to install Linux within a
virtual machine on macOS. Which of the following hypervisors
can he install on macOS to create a Linux virtual machine?
(Choose all that apply.)
Hyper-V
UTM
KVM
Parallels Desktop Correct Answer Hyper-V
UTM
Parallels Desktop
At the vi command mode prompt, what key combination will
force a quit from the vi editor without saving changes?
:q
:q!
:exit
:! Correct Answer :q!
Ayushi needs to reboot a Linux system in 10 minutes. She wants
to first warn any logged on users to save their work and log off
prior to the reboot. What command can Ayushi use?
echo
uname
, wall
apb Correct Answer wall
Chase is trying to extract records for employees 423 through 428
out of a comma separated values file that starts with the
employee number. Which of the following commands would
accomplish this? (Choose all that apply.)
Dillon wants to install Fedora Linux on a workstation computer
by booting from live installation media and has already
downloaded the live media ISO image for Fedora. What
software can Dillon use on his Windows PC to create a bootable
USB flash drive from the live media ISO image? (Choose all
that apply.)
Fedora Media Writer
disc burning software
Windows Explorer
balenaEtcher Correct Answer Fedora Media Writer
disc burning software
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 Classroom. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.99. You're not tied to anything after your purchase.