- Forums
- Bash Scripts
- Linux Bash Command To Start New Command In Another Shell
use this command to execute another shell command from a bash script [4968], Last Updated: Mon Jun 24, 2024
edwin
Sat Nov 13, 2021
0 Comments
589 Visits
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.
USAGE Example:
gnome-terminal -x bash -c "echo 'hello'; exec bash"
Hope that helps.