LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-25-2004, 05:47 PM   #1
jcubed
LQ Newbie
 
Registered: Apr 2004
Location: Minneapolis, MN
Posts: 18

Rep: Reputation: 0
EZ Newbie question: Where is ifconfig in Fedora 2?



I need some way to check my IP address, and "whatsmyip.com" doesn't work if I'm behind a firewall. I've looked around and found confirmation that ifconfig is still in Fedora. (Whew!) However, when I su and do a "which ifconfig", Fedora tells me it isn't in the path.

I'm still green, and could use a quick pointer to where I should find ifconfig.

Thanks!
 
Old 08-25-2004, 05:51 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,751

Rep: Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929
How about:
whereis ifconfig
or
locate ifconfig
 
Old 08-25-2004, 08:54 PM   #3
kostason
Member
 
Registered: Aug 2004
Location: Greece
Distribution: Fedora Core 2, DeLi Linux 0.6.1, Slackware 10.0
Posts: 105

Rep: Reputation: 15
Try this one

/sbin/ifconfig -a

-------------------------------
Kostason
 
Old 08-26-2004, 12:44 PM   #4
jcubed
LQ Newbie
 
Registered: Apr 2004
Location: Minneapolis, MN
Posts: 18

Original Poster
Rep: Reputation: 0
Smile Thanks guys!

Both posts helped me. Many thanks!
 
Old 08-26-2004, 02:20 PM   #5
Baltasar
Member
 
Registered: Jan 2004
Distribution: Fedora & Debian
Posts: 43

Rep: Reputation: 15
You could also get root access with "su-"
When you type "su -" instead of "su" you get the login shell from root and not from your user account.
"/sbin", /usr/sbin" and /usr/local/sbin aren't exported to PATH for other users then root. so if you want to execute ifconfig for example, you must type the full path /sbin/ifconfig
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't use ifconfig, route ect. (newbie) zinuss Linux - Software 4 09-17-2005 05:03 PM
Newbie Question - Fedora Core 4 Test 2 sketchydave Fedora 36 04-30-2005 11:00 AM
Newbie Fedora 2 question Fuuten no Sensh Fedora - Installation 5 06-12-2004 09:33 AM
newbie question: should I try Fedora? grapier Fedora 4 12-26-2003 02:47 PM
Empy ifconfig and other problems (newbie) mark_2811 Debian 7 12-11-2003 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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

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