How do I find the IP address of a UNIX server?

How do I find the IP address of a UNIX server?
Answer
To find out the IP address of Linux/UNIX/*BSD/macOS and Unixish system, you need to use
the command called ifconfig on Unix and the ip command or hostname command on Linux. These commands used to configure the kernel-resident network interfaces and display IP address such as 10.8. 0.1 or 192.168. 2.254.
 

Tìm kiếm

Back
Top