So i need to open a new terminal from a bash script (and then run some remote ssh commands through that - this is nice as I will be able to see everything that goes on, on the remote servers). I tried xterm
but it seems not installed (so not so nice an option that users have to install something first).
So is there no 'independent' way to do this (writing 'gnome-terminal' in script does look very specific) ?
Ideally the spawned terminal could be closed/killed off if the 'owner script' got stopped.
gnome-terminal-wrapper
is analternative
for the more widely knownx-terminal-emulator
. See/etc/alternatives
. So I suggest you usex-terminal-emulator
which will work just as well, and is compliant with more Unix systems than justUbuntu
. – Jos Nov 17 '20 at 11:22