,
Share with your friends 

Knowing IPAddress in Linux/Unix

6 ratings Views 249 
Author: Naveen_54b5070c (Naveen Kumar)  View Profile |  View other solutions by this author

Question / Problem


How to Know the IPAddress in Linux/Unix

Solution

Knowing IPAddress in Linux/Unix

Linux :

1.      Open the Shell

2.      If you are logged in with root user then type the below command to know the IPAddress and press enter.

#ifconfig

3.      If you are logged in with root user then type the below command to know the IPAddress and press enter.

$ /sbin/ifconfig

Unix:

1.      If you are logged in with root user then type the below command to know the

IPAddress and press enter.

 

#ifconfig

2.      If you are logged in with root user then type the below command to know the

IPAddress and press enter.

$ /sbin/ifconfig



Applies to

Red Hat Linux

Rank It

Login to rank it

Report


Advertisement