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

Re: script question (was no subject)



On Wed, Mar 31, 2004 at 06:35:22PM +0800, Ed Greshko wrote:
> I'm a bit confused about your question.  bash is a shell so a "bash
> script" is a "shell script".  Are you asking if a script can start
> another script?  If so, the answer is yes.

Or he may be asking how to guarantee the script is run with bash instead of
whatever script the invoker may be using.  In that case, the answer is to
have the very first line of the script be:

#!/bin/bash

Or wherever you know bash lives on the target system.
-- 
	Dave Ihnat
	ignatz dminet com




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