LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   IP adress info (https://www.linuxquestions.org/questions/linux-newbie-8/ip-adress-info-168293/)

MACSRULE 04-09-2004 04:58 PM

IP adress info
 
how do you find the IP adress of your computer via command line?

david_ross 04-09-2004 05:01 PM

Just run "ifconfig"

nalg0rath 04-09-2004 05:01 PM

log on as root (with su) and type:

ifconfig

Thats all, m8

nalg0rath 04-09-2004 05:02 PM

DoH, david_ross beat me to it....

Muzzy 04-09-2004 05:04 PM

Just to add...

You don't need to be root to run ifconfig, but if you are running as user, you may need to give the full path which is:

/sbin/ifconfig

Mark Byers.


All times are GMT -5. The time now is 01:07 PM.