D

Dhruva Jagannath • 660 Points
Invincible

Q. Which of the following commands will change the hostname of a Linux machine?

  • (A) change-hostname
  • (B) hostnamectl set-hostname
  • (C) sethost
  • (D) hostctl
  • Correct Answer - Option(B)
  • Views: 12
  • Filed under category Linux
  • Hashtags:

Explanation by: Dhruva Jagannath
'hostnamectl set-hostname' is used to change the system's hostname.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.