README.md
Rendering markdown...
#!/bin/bash
# Commands to run in each terminal
# Change ports if needed
commands=(
"python -m http.server 8081"
"nc -nlvp 4444"
)
# Open a new terminal tab for each command
for ((i=0; i<${#commands[@]}; i++))
do
gnome-terminal --tab --title="Terminal $((i+1))" -- bash -c "${commands[i]}; exec bash"
done