What command would you execute to view the default systemd target / runlevel? - systemctl get-
default
What command would you execute to set the default systemd target to the functional equivalent of
runlevel 3? - systemctl set-default multi-user
What command would you execute to set the default systemd target to the functional equivalent of
runlevel 5? - systemctl set-default graphical.target
When using the "systemctl" utility, what is the default systemd type if omitted? - service
What would you append to the end of the default Linux kernel entry in order to boot to the
"emergency" Systemd target, and what key combination would you press to proceed with booting? -
systemd.unit=emergency.target
What would you append to the end of the default Linux kernel entry in order to boot to the "Rescue"
Systemd target, which is equivalent to runlevel 1 (single user mode)? - systemd.unit=rescue.target
What command would you execute to see whether or not the sshd service is enabled? - systemctl is-
enabled sshd
What command would you execute to disable the Apache service? - systemctl disable httpd
What command would you execute to display all services present on the system and whether or not
they are enabled? - systemctl list-unit-files --type=service
What command would you execute to display the hostname and other pertinent information via
systemd? - hostnamectl
, What command would you execute to set the hostname to i.can.has.cheezburger via systemd? -
hostnamectl set-hostname i.can.has.cheezburger
What file is the system's hostname stored in? - /etc/hostname
What command would you execute to activate any manual updates made directly to /etc/hostname? -
systemctl restart systemd-hostnamed
Where are Systemd system unit files located, and what command could you execute to derive this
information? - /usr/lib/systemd/system
Where are Systemd user unit files located, and what command could you execute to derive this
information? - /etc/systemd/user
pkg-config systemd --variable systemduserconfdir
Where are Systemd units located that are effectively created at boot and destroyed when no longer
needed? - /run/systemd/system
What are the twelve unit types included in Systemd and their respective descriptions? - service -
Manages service daemons and their respective processes
socket - Manages IPC or network socket or a file system FIFO controlled and supervised by systemd, for
socket-based activation
device - Manages kernel device units as exposed in the sysfs/udev(7) device tree
mount - Manages file system mount points
automount - Manages file system automount points
swap - Manages swap devices or files for memory paging
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 oneclass. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.48. You're not tied to anything after your purchase.