How a batch file be converted to run on Linux?
Posted on 18 April 2010 by Abidoon
I need some help with running a batch (bat.) using something other than windows, (MacOSX or linux ubuntu) I know that the file can’t simply be run but it can be converted to do so, however I have no idea how to do this.
I have the actual file that I need converted and I will be happy to give it to anyone interested in helping me with this problem.
Please help me out

Sounds like you want a shell script.
http://www.freeos.com/guides/lsst/
Your best bet will to try to find the equivalent commands for linux. These sites may help.
http://www.yolinux.com/TUTORIALS/unix_for_dos_users.html
http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/getting-started-guide/ch-doslinux.html
http://www.ss64.com/bash/index.html
The plus side is that you’ll probably be very good at both when you’re done.