I have a bash script which is calling three different commands and that execution must happen in one shell. I got it by adding && after each command like as follows-
First, you will need to save save the command in a scriptfile, for example Myscript.sh.
Myscript.sh
Second, you can execute the script file to run your commands simultaneously using
. ./Myscript.sh
The first . stands for current shell and the second . for current directory.
.