Knowing IPAddress in Linux/Unix
|
|
|
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 |
|