I am using Ubuntu 16.04.2, I have an icon on my desktop that links to a script in my $HOME/bin
directory. This script uses two scripts in the $HOME/bin
directory. It opens a terminal and prints the output script one. Then it opens a second terminal and prints the output of script two.
I would like it to print all the data to just one terminal. The end product should be that when I click my desktop icon all the data will be printed to just one terminal.
Many thanks for your suggestions
#!/bin/bash
gnome-terminal -e "bash -c $HOME/bin/bin_old/bk_up;bash" && gnome-terminal -e "bash -c $HOME/bin/bin_old/win_bkp;bash"
gnome-terminal
you are creating a new instance of a terminal, meaning that calling it 2 times will open a terminal window. The solution I provide does what you describe: open a terminal; Run both scripts; scripts print their data to the terminal. – Ricardo Rodrigues Mar 10 '17 at 13:55ls ~
)? What do the scripts do? – Ricardo Rodrigues Mar 10 '17 at 18:10