When you use the -e
option the gnome-terminal
will run that command without starting a new shell (you can even run something like: gnome-terminal -e gedit
), so if you want to run a command into the bash
shell into a new terminal/tab you have to do something like this:
gnome-terminal -x bash -c "command"
But note that when "command"
ends the terminal/tab will end too.