Re: script question (was no subject)

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

 



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@xxxxxxxxxx


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux