- Bash Scripts
- Linux Bash Command To Start New Command In Another Shell
use this command to execute another shell command from a bash script , Last Updated: Fri Jun 02, 2023
Sat Nov 13, 2021
Today I need to start multiple node.js servers with just one bash script. To accomplish this, you can use the gnome-terminal in Linux.
gnome-terminal -x bash -c "echo 'hello'; exec bash"
Hope that helps.