To verify the hostname in Solaris, use the `hostname` command. This command shows the system’s hostname, which is the identify assigned to the system when it was configured. The hostname is used to establish the system on a community and can also be utilized by varied system providers, such because the mail server and the net server.
The hostname is often set throughout the system set up course of, however it may be modified at any time utilizing the `hostname` command. To vary the hostname, merely kind the next command on the command immediate: