Red Hat Networking - /sbin/ifconfig

This is Interesting: Free IT Magazines  
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]

Author /sbin/ifconfig
J R

2004-11-15, 2:47 am

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
Jacob

2004-11-15, 2:47 am

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]`
J R

2004-11-15, 5:52 pm

Cool, thanks Jacob.
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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com