Jump to content

ifconfig [solved]


Recommended Posts

Are you by any chance logged-in as a normal (non-root) user? If so, these utilities are not normally in your PATH environment variable. You can still use some of them (those that have global execute permissions) by typing the full path. For example,

 

ifconfig = /sbin/ifconfig

 

You can find the paths for the others by using the whereis command:

 

whereis <command>

 

If you ARE logged-in as root, then paths like /sbin are not in your PATH for some reason. Not sure how to fix that, but someone should know...

Link to comment
Share on other sites

Guest Adriano1

well, I work on Fedora, and something interesting is that if you 'su' in as root normally your path doesn't include the /sbin directory. You have to log in with 'su -' or curse a bit until you remember the gotcha.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...