|
Home > Archive > Red Hat Networking > February 2005 > /sbin/ifconfig
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Does anybody have any idea why FedoraCore makes you type in
the full path (i.e. /sbin/ifconfig) for the ifconfig command?
I understand the requirement for SU, but the full path?
Thanks,
J R
| |
|
| On Mon, 15 Nov 2004 02:29:36 -0500, a posting issued forth from J R...
> Does anybody have any idea why FedoraCore makes you type in
> the full path (i.e. /sbin/ifconfig) for the ifconfig command?
>
> I understand the requirement for SU, but the full path?
>
It doesn't. Like anything else, if '/sbin/' isn't on your path, then you
need to explicitly type it when running its apps. To see your path, type
echo $PATH
and to obviate the need to type '/sb<TAB>/ifco<TAB>' for 'ifco<TAB>',
just add
export PATH=$PATH:/sbin
to your shell's rc file (likely ~/.bashrc)
GL
--
Jacob
mailto:`echo wnpbo@urvqre.ubzryvahk.arg | tr [a-z] [n-za-m]`
| |
|
|
| Dev Gnull 2005-02-27, 2:47 am |
| When you su do a su - instead
DG
On Mon, 15 Nov 2004 02:29:36 -0500, J R wrote:
> Does anybody have any idea why FedoraCore makes you type in
> the full path (i.e. /sbin/ifconfig) for the ifconfig command?
>
> I understand the requirement for SU, but the full path?
>
> Thanks,
> J R
|
|
|
|
|