Is there any method to interact with a program directly from the commmand line?
For example, I've a program, data.o
, which produces a file mydata.out
and then I want to plot it with gnuplot
.
I can open the plotting program with gnuplot &
and then I would like the shell to write somehow in this job/background shell I just opened plot mydata.out
. (gnuplot
is just an example, the question would be similar for executing some Macros or Hotkeys in every program I can open from the command line without leaving it).