Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

VanLUG Email Archive

VanLUG Mailing List
Re: ADSL

New Message Reply About this list Date view Thread view Subject view Author view

Ted Powell (ted@eslvcr.fireplug.net)
Fri, 18 Dec 1998 23:49:56 -0800


On Fri, Dec 18, 1998 at 11:40:15PM -0800, Harondel J. Sibble wrote:
> [...]
> hmm going through script line by line I see I dont have /usr/bin/sleep file
> and I never installed telnet on this firewall box. Telent I can fix in a jiffy, but
> where does sleep come from?

    $ type sleep
    sleep is /bin/sleep

(May be different on your system, of course.)

If at the beginning of a script you explicitly set PATH to a list of
directories whose contents can all be trusted, it's simpler just to say

    sleep

and let the system find it among the directories specified in PATH.
It's not as if you're striving for fast execution here.

-- 
ted@psg.com  ted@wimsey.com  http://psg.com/~ted/  (Ted Powell)
Reality is that which, when you stop believing in it, doesn't go away.
                           --Philip K. Dick


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Fri 18 Dec 1998 - 23:50:21 PST