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

Re: bash scripts and files



On Sun, Dec 30, 2007 at 05:17:43PM +0000, michael wrote:
From: michael <cs@networkingnewsletter.org.uk>
To: debian user <debian-user@lists.debian.org>
Subject: bash scripts and files
X-Spam-Virus: No
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,LDO_WHITELIST,
	RCVD_IN_DNSWL_MED autolearn=failed version=3.2.3
X-Mailer: Apple Mail (2.752.3)

Folks, can somebody point me to an authorative reference that explains when one needs to put, eg,
 #!/bin/bash
as the first line of a script and whether or not it's required/surplus/ignored for bash specific files such as .bashrc and .bash_profile
have look at:
http://tldp.org/LDP/abs/html/invoking.html
The whole tutorial is in the package: abs-guide

hth.
--
Gérard


Reply to: