[aklug] Re: (ana)cron & Linux Counter update script

From: Jeremy Austin <jhaustin@gmail.com>
Date: Sun Oct 31 2010 - 17:55:08 AKDT

On Sun, Oct 31, 2010 at 5:07 PM, Jim Gribbin <jimgribbin@gmail.com> wrote:
> I was going to, but all the other files start with:
>
> '#!/bin/sh' or '#!/bin/bash'
>
> which believe means it's commented out. I'm guessing it was put there for form.

It's not form. While bash may be the default interpreter, a script in
another language would start

#!/usr/bin/python

or

#!/usr/bin/php

et cetera. If you execute the script ./foo, then the interpreter
listed on that first line will be executed, with file foo as input.

jermudgeon
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sun Oct 31 17:55:37 2010

This archive was generated by hypermail 2.1.8 : Sun Oct 31 2010 - 17:55:37 AKDT