Tuesday, January 10, 2012

[LINUX_Newbies] Re: Installaling a second Network connector

 

On 10Jan2012 22:34, c beck <usabecker@gmail.com> wrote:
| On Jan 10, 2012 6:18 PM, "Cameron Simpson" <cs@zip.com.au> 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 <cs@zip.com.au> 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

__._,_.___
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

No comments:

Post a Comment