Tiên Hương
New member
How do I find my IP address in Linux shell script?
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.
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.