Skip to content
Advertisement

Shell script file with multiple commands

I want to make shell script file in windows and linux with multiple commands inside it.

E.g run.sh and run.bat with the below commands run.bat or run.sh

JavaScript

When I run my run.bat file it only executes first command mvn clean but it do not execute other commands.

How to make shell-script file with multiple commands so that when I execute it, It executes all commands inside it.

Thanks.

Advertisement

Answer

mvn is bat file but not binary.

Try with

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement