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 02-24-2005, 07:43 PM   #1
sencer11
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
ipconfig


Hello im pretty new to linux, i have been reading forums and learning for past few days. Today have been doing research on how to setup up the internet. I do however have a problem , i cant seem to access "ipconfi" or "lsmod" from the root host. I keep getting bash: command not found.

i found a way to access ldmod by typing "/sbin/lsmod"but i still cant seem access ipconfg even though i see it in green text when i do "ls /sbin/

Im guessing my directories are messed up somehow, any help would be appretiated.
Thanks.
 
Old 02-24-2005, 07:46 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
did you actually try typing :
Code:
/sbin/ifconfig
at a prompt?

Last edited by DrOzz; 02-24-2005 at 07:54 PM.
 
Old 02-24-2005, 07:48 PM   #3
sencer11
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
i tried in terminal

Where would i go to get to prompt?

sorry forgot to mention im on Red Hat 9
 
Old 02-24-2005, 07:55 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
the terminal is a prompt ...
anyways ... your saying that when you go to a terminal
and you type :
Code:
/sbin/ifconfig
it says "command not found" ?
 
Old 02-24-2005, 07:56 PM   #5
cl2imson
LQ Newbie
 
Registered: Feb 2004
Location: Norman, OK
Distribution: Fedora, Core 2
Posts: 23

Rep: Reputation: 15
/sbin/ifconfig works for me.
 
Old 02-24-2005, 07:56 PM   #6
sencer11
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
yes
 
Old 02-24-2005, 07:59 PM   #7
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
actually i am an idiot, and just noticing this now ...
the title of your thread, and that you keep calling it:
Code:
ipconfig
your supposed to be typing :
Code:
ifconfig

ipconfig is for windows
 
Old 02-24-2005, 08:02 PM   #8
sencer11
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
heh im an idiot too for mistyping it.
thanks for the help

/sbin/ifconfig works

so i have to go through sbin everytime to get to it?
i have seen some people just typing ifconfig and it would come up.
 
Old 02-24-2005, 08:07 PM   #9
cl2imson
LQ Newbie
 
Registered: Feb 2004
Location: Norman, OK
Distribution: Fedora, Core 2
Posts: 23

Rep: Reputation: 15
if you are invoking that as root, then /sbin should be in your path. if you are running as a normal user, then the full path is required.

if this annoys you, you can always add /sbin to your path to the /home/yourusername/.bash_profile file.
 
Old 02-24-2005, 08:08 PM   #10
sencer11
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
appretiate your help guys now time to setup wireless adapter. thats another 4 days heh )
 
  


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
ipconfig equivilant shouup SUSE / openSUSE 6 09-09-2005 12:49 PM
ipconfig Circuit Monkey Linux - Newbie 3 03-24-2005 03:40 PM
Linux for ipconfig spano Linux - Newbie 12 02-24-2005 11:40 AM
Ipconfig - doubt srivatsan Linux - Networking 1 06-30-2004 12:57 AM
ipconfig hurricane Slackware 1 10-21-2003 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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