EZ Newbie question: Where is ifconfig in Fedora 2?
:newbie:
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. :o I'm still green, and could use a quick pointer to where I should find ifconfig. :o Thanks! :newbie: |
How about:
whereis ifconfig or locate ifconfig :) |
Try this one
/sbin/ifconfig -a ------------------------------- Kostason |
Thanks guys!
Both posts helped me. Many thanks! :)
|
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 |
All times are GMT -5. The time now is 10:40 PM. |