LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-08-2003, 04:39 AM   #1
kr!s
LQ Newbie
 
Registered: Nov 2003
Location: Leuven, Belgium
Distribution: Debian
Posts: 10

Rep: Reputation: 0
Unhappy Newbie Red Hat 9 issue


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!
 
Old 11-08-2003, 06:46 AM   #2
wdingus
Member
 
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
# 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.
 
Old 08-09-2004, 08:48 AM   #3
kr!s
LQ Newbie
 
Registered: Nov 2003
Location: Leuven, Belgium
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
  


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
Monitor Issue During Red Hat 9 Installation katzell Linux - Software 7 08-01-2005 09:12 AM
Red Hat cer 4 squirrelmail issue andre418 Linux - Software 0 06-22-2005 11:00 PM
red hat 6.1 ftp issue tumblin_dice Linux - Networking 1 09-20-2003 03:56 PM
Red Hat 7.3 RAM Issue hitaz Linux - General 1 07-10-2003 08:24 AM
Red Hat and DHCP/DNS issue. tel1jag Linux - Software 9 05-30-2003 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:12 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