Re: Linux equivilent to .bat files

From: Michele Andreoli (m.andreoli@tin.it)
Date: Wed Nov 14 2001 - 08:38:27 CET


On Tue, Nov 13, 2001 at 03:24:03PM +0000, Cenobyte nicely wrote:
> I know they're scripts and that, but is there something special about them?
> Do they need a certain extension or something?
> How to work with the linux equivilent of .bat files?

No special extensions in Linux (or UNIX). For scripting, the interpreter
used is referenced in the first line:

                #!/bin/sh
                #!/usr/bin/perl

and so on.
If there isn't a such line, /bin/sh is the default.

Michele

-- 
I keep trying to locate a meeting of Quantum Physicists. But everytime
they set a meeting time, the location changes. And vice versa -- Anonymous
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:20 CET