Re: /etc/init.d in the default $PATH ?

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

 



On Sat, 2007-01-27 at 21:09 -0800, Florin Andrei wrote:
> Mike McGrath wrote:
> > On 1/27/07, Florin Andrei <florin@xxxxxxxxxxxxxxx> wrote:
> >> So, what it the rationale for /etc/init.d not being in the default
> >> $PATH, for root at least?
> > 
> > because "/sbin/service" is...
> 
> I know what you mean, but TAB completion doesn't work on the service 
> name when using /sbin/service

One problem is that many of the init scripts have names that conflict
with programs on the path.  For example, if you type "sshd", are you
running the binary in /usr/sbin or are you running the init script
in /etc/init.d?  There are numerous other examples.

As far as TAB completion goes, take a look at bash-completion in Extras.

Jeff

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux