FAQ tagged as:

encap

Q. I need to get the IP address assigned to eth0 Linux interface. How do I find out IP address only? I don’t want other information displayed by Linux ifconfig command.
A. For shell script or may be for other cause you may need the IP address only. You can use ifconfig command with grep [...]

{ 6 comments }

Q. How do I find out my Linux / UNIX system ip address, subnet and related networking information from a command prompt?
A. To find out IP address of Linux/UNIX/BSD/Unixish system you need to use command called ifconfig. It is used to configure the kernel-resident network interfaces. It is used at boot time to set [...]

{ 22 comments }

nixCraft FAQ PDF Collection Now Available To All