Jump to content


New To Linux


  • Please log in to reply
5 replies to this topic

#1 dimayouN

dimayouN

    Member

  • Members
  • PipPip
  • 120 posts

Posted 18 February 2006 - 06:13 AM

I m typing the ifconfig in the command line but i got message the command not found
I m new to linux and i m running fedora ;)
thanx

#2 JrLz

JrLz

    Advanced Member

  • Members
  • PipPipPip
  • 493 posts

Posted 18 February 2006 - 03:02 PM

are you logging as root? or just as a normal user?
if you're not root, then maybe it's just a problem of the user's path variable.
type set , and you can see your path variable...
you can call the command by typing the full path of ifconfig --> /sbin/ifconfig
if still can't,maybe root/admin hide it somewhere else...

ifconfig is a tool included in the net-tool package, maybe you might consider reinstalling it if you need it.

#3 Mleleu

Mleleu

    Advanced Member

  • Members
  • PipPipPip
  • 193 posts
  • Location:Tanzania, Dar Es Salaam

Posted 23 February 2006 - 02:00 AM

yes you logged as normal user.
just open terminal and type " su - " then give root password.
type your command " ifconfig "

That's it.

Edited by Mleleu, 23 February 2006 - 02:04 AM.


#4 new things

new things

    Advanced Member

  • Members
  • PipPipPip
  • 191 posts
  • Gender:Male

Posted 29 August 2008 - 09:08 PM

I m typing the ifconfig in the command line but i got message the command not found
I m new to linux and i m running fedora ;)
thanx


we can login super user

$ su
password

#ifconfig or
#/sbin/ifconfig

#5 Lethe

Lethe

    Insanity's Crescendo

  • Global Moderators
  • PipPipPipPipPip
  • 2842 posts
  • Gender:Male
  • Location:...

Posted 02 September 2008 - 11:56 PM

I m typing the ifconfig in the command line but i got message the command not found
I m new to linux and i m running fedora ;)
thanx


we can login super user

$ su
password

#ifconfig or
#/sbin/ifconfig


This way it won't work :) You need to put the "-" or the shell won't load all the environment variables of the root account aka you won't be able to use the ifconfig command that's it :)

L.

#6 Hurricane_Master

Hurricane_Master

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 06 September 2008 - 05:33 AM

so many right things...

let me add:

#whereis ifconfig... this will show u the path to the ifocnfig command.

check ur promt: # if ur root and $ if normal user...

then run the ifconfig from the path.

Another way is to go to:
/etc/sysconfig/network-scripts/ifcfg-eth0 and check ur ip configurations

Peace.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users