LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 04: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, 04:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it's ifconfig
 
Old 09-22-2006, 03: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, 02: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, 03:10 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

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

/sbin/ifconfig

and it should work fine.
 
Old 09-23-2006, 10: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



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 01:43 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
Open Source Consulting | Domain Registration