Absolutely not!

No linux shell would ever stoop such disgraceful scripting as COMMAND.COM!

Seriously now ... In unix we usually "call" batch files shell scripts.

To make one simply create a text file. A contrived example follows:
---
#!/bin/sh
ls > /tmp/dir_content
grep fish /tmp/dir_content
---
Now give the people who are going to execute read AND execute permission.
Eg: chmod u+x myscript

The first line of Unix shell scripts is special ... it is in the format of
#!<shell interpreter> [optional paramters]

Thus file with first line of:
#!/usr/bin/perl
is a perl script.

Hope that helps,

Dave.

--
David Zverina
Alt Key Pty. Ltd.
http://www.altkey.com
PO Box 3121, Parramatta, 2124, Australia

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Hunter
> Sent: Saturday, 20 May 2000 3:35
> To: [EMAIL PROTECTED]
> Subject: [SLUG] runnning batch files on linux
>
>
> Is it possible to create the equivalent of batch files like those
> used in dos systems for running a series of commands ?
>
> Can any one help
>
> thanks
>
> Kevin Hutner
> Kevin Hunter
> Research Physicist
> ETP Electron Multipliers
> Tel: 61 (2) 9874-1155
> Fax: 61 (2) 9874-2900
> Email: [EMAIL PROTECTED]
> web:   www.etpsci.com
> --
> SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
> To unsubscribe send email to [EMAIL PROTECTED] with
> unsubscribe in the text
>

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to