You can keep the xterm open by the -hold option, e.g.
or - if you want to interact with the open shell
xterm -e "ls ; bash"
I don't have a gnome-terminal at hand (running KDE now) but there should be a similar option. In konsole (KDE terminal) it is --noclose.