[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Linux equivalent of batch files?



On Sun, Nov 14, 1999 at 08:26:52PM +0000, Shivshankar Sastry wrote:
> Could someone please educate me on how to automate Linux and write the
> Linux equivalent of an MSDOS batchfile.
> 
> For example I want to automate the following command
> 
> root@localhost# /usr/local/bin/./wine winver -win95 /c/acdsee/acdsee.exe
> 

They're called shell scripts. A file containing:

#!/bin/sh

/usr/local/bin/./wine winver -win95 /c/acdsee/acdsee.exe

the above lines should do the trick.

	-Arun


--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.