Skip to content
WJunction - Webmaster Forum

[Help] Run Multiple Files - Linux CentOS 5

Status
Not open for further replies.
Hello,


I'm a little Linux nub :33, just trying to figure this out.. as I'm learning the bash commands slowly but surely.


How can I run files on linux, like.. file1.bat, file2.bat, file3.bat. I'm sure there must be a command for this? Please help.
I'm using Linux - CentOS 5 if that helps.


Thanks!!​
 

3 comments

You cannot run .bat commands on linux, Linux has its own language called 'Bash'.

The extension is .sh and you can run them by './filename.sh
 
You can run .sh files on Linux, .sh files are scripts designed to run at the Linux/UNIX command prompt.
You can run these with the following command: ./file.sh
 
Hello KicksAss,

Yes Batch(.bat) command can be run on linux if you know a littlebit about wine. :|

If you don't have wine installed then do this:

Code:
sudo apt-get install wine

and then run this command in the terminal:

Code:
wine cmd

Wine command prompt would pop up, then run your Batch(.bat) file there. :)

Good Luck (y)
 
Status
Not open for further replies.

About the author

W
Active Member · Joined
99
Messages
12
Reactions
8
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom