Respuesta :
hostnamectl set-hostname server1. In Linux, the hostname command is used to set the system's hostname and obtain the DNS name.
What is command ?
- A command in computing is a request for a computer programme to carry out a certain task. It could be sent using a command-line interface, like a shell, as input to a network service as part of a network protocol, as an event in a graphical user interface brought on by the user selecting an item from a menu, or it could be sent using any of the following:
- A feature of the Linux operating system is the command. By running commands, you can complete all simple and complex activities. The Linux terminal is used to run the commands. Similar to the command prompt in the Windows OS, the terminal is a command-line interface for interacting with the system.
- Compared to other operating systems like Windows and MacOS, Linux has a robust command-line interface. Through its terminal, we can perform both fundamental and sophisticated tasks. We can perform some simple operations like adding, removing, and moving files. Additionally, we are capable of performing complex jobs like networking, security, and administrative chores.
To learn more about command refer :
https://brainly.com/question/25480553
#SPJ4