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. |
did you actually try typing :
Code:
/sbin/ifconfig |
i tried in terminal
Where would i go to get to prompt? sorry forgot to mention im on Red Hat 9 |
the terminal is a prompt ...
anyways ... your saying that when you go to a terminal and you type : Code:
/sbin/ifconfig |
/sbin/ifconfig works for me.
|
yes
|
actually i am an idiot, and just noticing this now ...
the title of your thread, and that you keep calling it: Code:
ipconfig Code:
ifconfig ipconfig is for windows ;) |
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. |
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. |
appretiate your help guys now time to setup wireless adapter. thats another 4 days heh )
|
All times are GMT -5. The time now is 09:29 PM. |