LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to place the output of a script in a separate terminal window (https://www.linuxquestions.org/questions/linux-general-1/how-to-place-the-output-of-a-script-in-a-separate-terminal-window-693223/)

SBN 12-27-2008 03:49 AM

How to place the output of a script in a separate terminal window
 
Hey guys im planning to create a script with some menu's but what i want is that the ouput of the script will popup in a separate terminal window, is this possible?

kaz2100 12-27-2008 04:18 AM

Hya,

Yes, it is possible.

Have fun!

Happy Penguins!

pixellany 12-27-2008 06:38 AM

And then there is:
Q: "Do you know what time it is?"
A: "Yes."

My hunch is that OP wants to know how to get the script output to another terminal...

One way:
Find the device name using "tty"
Redirect the output from a command to the desired device.

Example:
Open two terminals
In the second one, enter "tty" (It will give you something like /dev/pts/1)
In the FIRST terminal, do "ls > /dev/pts/1

You should see the output in terminal #2.


All times are GMT -5. The time now is 06:07 PM.