hostname # View Host Information
Example: hostname -a # View current host name of the machine
Example: hostname -i # to view the current IP address of the machine.
hostname # View Host Information
Example: hostname -a # View current host name of the machine
Example: hostname -i # to view the current IP address of the machine.