LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2006, 05:16 PM   #1
nportela
LQ Newbie
 
Registered: May 2006
Posts: 10

Rep: Reputation: 0
Post 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,
 
Old 09-21-2006, 05:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
it's ifconfig
 
Old 09-22-2006, 04:31 AM   #3
WOP1337
Member
 
Registered: Jul 2006
Location: Tustin, CA
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
make sure you type 'ifconfig' as root or it will say command not found.
 
Old 09-22-2006, 03:51 PM   #4
nportela
LQ Newbie
 
Registered: May 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks,

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

Thanks for all..
 
Old 09-22-2006, 04:10 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
as a user other than root, you would simply specify the path

/sbin/ifconfig

and it should work fine.
 
Old 09-23-2006, 11:09 AM   #6
shooters
LQ Newbie
 
Registered: Dec 2005
Distribution: Ubuntu 6.06 (Dapper)
Posts: 18

Rep: Reputation: 0
If you want to renew/release IP Address

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration