Is there a way to run multiple commands using xterm?
This is what I'm trying to do...
Open a new window and ssh into the machine spc10
xterm -e "ssh spc10; bash" &
I want to be able to add another command to execute a shell script after the ssh as I have a script on that machine to run. I tried the following with no success. Not sure if xterm supports multiple command options.
xterm -e "ssh spc10; . script.sh; bash" &