Question 1
Link to questionWhich command is used to display the current system hostname?
hostnamectl
hostname
host
domainname
Show answer and explanation
Correct answer
hostname
The hostname command prints or sets the system's host name, while hostnamectl is used on systemd systems to query and change the hostname persistently.
