Questions
- Which of the following commands shows you what locales are installed on your system?
systemctl list-locales
locale list-locales
localectl list-locales
localectl -a
- What type of service gets invoked when you use either
localectl
orhostnamectl
to set a parameter?dbus
oneshot
notify
forking
- What happens if your computer has nothing in its
hostname
file?- It sets the default
Static hostname
value tolocalhost.localdomain
or to whatever it might get from a local DHCP or mDNS server. - The computer will have no hostname.
- It sets
Pretty hostname
tolocalhost.localdomain
. - It sets the default
Transient hostname
value tolocalhost.localdomain
or to whatever it might get from a local DHCP or mDNS server.
- It sets the default
- What time does the computer's hardware clock normally show?
- Local time
- UTC time