On 28/02/12 17:38, David Bowskill wrote:
> Hello All
>
> Could someone kindly please tell me how to write a BASH script, which
> opens up a terminal (easy) and, in that opened terminal, runs a
> pre-existing program.
> Thanks
>
> David

Here's a start:

#!/bin/sh
# Assumes you use gnome2 - might be different on Unity; will be
different on KDE
# Quoting might need to be different if your command has quotes
gnome-terminal -t "Window Title" -e "command to run" &

Run 'man gnome-terminal' for more options...

<<attachment: paul.vcf>>

-- 
ubuntu-au mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au

Reply via email to