in reply to Re: Getting output to terminal
in thread Getting output to terminal

Now story is getting more interesting. The script that I attached works on one computer with Ubuntu 14.04, does not work with Ubuntu 12.04 ( I do not think version of Ubuntu matter here) . Script does not want to print to the terminal window that script initiated and opened. It will however sent data and print into terminal windows that is already open. Interesting, any ideas??

Replies are listed 'Best First'.
Re^3: Getting output to terminal
by Anonymous Monk on Aug 03, 2014 at 20:16 UTC

    If by attached you mean the above, my opinion is that you're doing things backwards. The terminal should be running a command (such as your script or tail) and showing its output (e.g. gnome-terminal -e 'tail -F /var/log/syslog'), instead of the script opening a terminal and trying to hack the output into there somehow. Don't do it that way, and do it as described in the parent above, you'll arrive at a working, more reliable solution faster.