I want to create an executable file. The goal should be to execute multiple console scripts (.sh) one after the another. The difficulty, however, is that each sh command should be executed by a new command tab. Specifically, among other things I want to create a script for the second step of the manual (https://kafka.apache.org/quickstart). Is this even possible?
Thanks in advance!
Edit:so far i tried to write a script to execute two sh files using mate-terminal:
#!/bin/bash
mate-terminal --working-directory="/home/user/Documents/kafka_2.11-2.0.0/bin" --command "zookeeper-server-start.sh config/zookeeper.properties"
mate-terminal --working-directory="/home/user/Documents/kafka_2.11-2.0.0/bin" --command "kafka-server-start.sh config/server.properties"
Unfortunately this bash always results in the following error message for both sh files:
There was an error creating the child process for this terminal Failed to execute child process “kafka-server-start.sh” (No such file or directory)
There was an error creating the child process for this terminal Failed Failed to execute child process “zookeeper-server-start.sh” (No such file or directory)