On 10Jan2012 22:34, c beck <[email protected]> wrote:
| On Jan 10, 2012 6:18 PM, "Cameron Simpson" <[email protected]> wrote:
| > It is important to type commands precisely. There are spaces before the
| > dashes in the commands I provided, thus:
| >
| > /sbin/ifconfig -a
| 
| Any reason for specifying the path to ifconfig instead of simply 'ifconfig
| -a'?  The program should be in the shell's path.  I only ask because it
| seems the '/sbin' is moving to '/usr/sbin/',  at least as far as Oracle is
| concerned (Via Solaris 11).

As I mentioned in the first post, /sbin and /usr/sbin are often _not_ in
ordinary user's $PATHs. Root's $PATH, yes. There's no good reason for it,
but it is the case. Anyway, it is easiest to be explicit for this
particular purpose.

Cheers,
-- 
Cameron Simpson <[email protected]> DoD#743
http://www.cskk.ezoshosting.com/cs/

What are politicians going to tell people when the Constitution is gone and
we still have a drug problem?   - William Simpson, ACLU


------------------------------------

To unsubscribe from this list, please email 
[email protected] & you will be removed.Yahoo! Groups 
Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to