Re: What to do when a command isn't found?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2006-07-06 at 12:16 -0500, Les Mikesell wrote:
> Both the shell and the 'which' command search the directories in your
> PATH variable.  ifconfig is in /sbin along with other utilities
> used for system administration. When you log in as root, /sbin and
> /usr/sbin is included in the PATH setting. Normally other users don't
> get those, although like most other things you can change that to
> suit yourself.  If you "su - " from another logged in user you will
> pick up root's login environment.  If you su without the '-' you keep
> the original environment and thus the PATH.
> 

That explains it, thank you everyone that responded, valuable
information from everyone.  The su with the - is what I was missing.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux