Host Information
uname
|
Print basic system information. |
hostname
|
Print the system’s hostname. |
dnsdomainname
|
Same as |
domainname
|
Same as |
nisdomainname
|
Same as |
ypdomainname
|
Same as |
ip
|
Set and display network interface information. |
ifconfig
|
Older command to set and display network interface information. |
Every Linux machine (or host) has a name, a network IP address, and other properties. Here’s how to display this information.
Get Linux Pocket Guide, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.