a little script
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue Jan 27 21:13:10 UTC 2004
On Tue, Jan 27, 2004 at 04:02:22PM -0500, Chris F.A. Johnson wrote:
> That depends on how it is run.
>
> If run from the bash command line, or from another bash script, it
> will be executed by bash.
>
> If run by at or cron (or pdksh), /bin/sh is used. Which in the
> case of linux, is still bash, but the startup files will not be
> read (see the INVOCATION section of the man page).
/bin/sh MIGHT be bash on Linux. Might as well be ash, dash or some
other posix compliant shell. And even when it is bash it doesn't behave
like bash, it tries to behave more like plain sh.
Lennart Sorensen
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list