I want to run a command foo on one terminal and pass the result to another terminal. Is it possible to do this ?
Yes, it is. A picture worth a thousand words:
So, you have to redirect the output of your command using
Something like this for your
This will run a command and shows the result on a new terminal window.
Edit: To consider aliases from the
then the output of
|show 2 more comments|