Which command is used to set the hostname of the local system?

SIMULATION
Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

Download Printable PDF. VALID exam to help you PASS.

One thought on “Which command is used to set the hostname of the local system?

  1. hostnamectl is part of systemd, and provides a proper API for dealing with setting a server’s hostnames in a standardized way. So best answer should be hostname.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.