LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Newbie Red Hat 9 issue (https://www.linuxquestions.org/questions/linux-networking-3/newbie-red-hat-9-issue-113700/)

kr!s 11-08-2003 04:39 AM

Newbie Red Hat 9 issue
 
:Pengy: Hey, it probably sounds quite stupid to you guys, but I'm having problems with what I thought is a basic Linux command: ifconfig.
When I open a terminal window and enter the command, I receive following message: bash: ifconfig: command not found
Do I need to install an extra package? Or do I need another command? I just want to have a Linux alternative for the ipconfig commands in Windows (sorry, I'm just switching from Windows to Linux...)

Thanks for your help!

wdingus 11-08-2003 06:46 AM

# whereis ifconfig
ifconfig: /sbin/ifconfig /usr/share/man/man8/ifconfig.8.gz

Since ifconfig is in /sbin that means it's available to the root user, not whatever user you're logged in as. Same concept as some things being available to the administrator user in windows but not to other users. So just type "su -" and provide the root password and you'll be able to run it.

Oh, and /sbin is not in your PATH variable logged in as a non-root user and "su -" does a "switch user" to root.

kr!s 08-09-2004 08:48 AM

forget about it
 
Hello,

although not many replies here, this problem is long solved. I got Debian running for more than 6 months now, and it's just great.

cheers,
kr!s


All times are GMT -5. The time now is 08:13 PM.