hostname
Linux · Network · available in the simulator
What it does
Display or set the system's host name.
Options and parameters
-iDisplay the IP address of the host.
-IDisplay all network addresses of the host.
-fDisplay the fully qualified domain name (FQDN).
Usage examples
hostnamehostname -ihostname -I