LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to know my ip (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-know-my-ip-485780/)

nportela 09-21-2006 04:16 PM

How to know my ip
 
Hello,

I'm new in the world of linux, and i want to know what is the command that is identic to the "ipconfig" in windows.

Thanks,

acid_kewpie 09-21-2006 04:19 PM

it's ifconfig

WOP1337 09-22-2006 03:31 AM

make sure you type 'ifconfig' as root or it will say command not found.

nportela 09-22-2006 02:51 PM

Thanks,

I was typing ifconfig in another user, not in root, that's why it wasn't working.

Thanks for all..

farslayer 09-22-2006 03:10 PM

as a user other than root, you would simply specify the path

/sbin/ifconfig

and it should work fine.

shooters 09-23-2006 10:09 AM

If you want to renew/release IP Address

use "sudo dhclient eth0" where eth0 is the interface you want to renew/release...


All times are GMT -5. The time now is 11:20 AM.