Tamer Youssef

Just another site

By - Tamer

Run bat files in Linux

You have to create a file with the extension .sh put this as the first line
Code:

#!/bin/sh

and then just write the rest like writing a .bat file except with the new syntax

after that, save and run

Code:

chmod +x (filename).sh

to run the script, just type in

Code:

./(filename).sh

Leave a Reply

Your email address will not be published.