Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-27-2008, 03:49 AM   #1
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Rep: Reputation: 30
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?
Old 12-27-2008, 04:18 AM   #2
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch
Posts: 1,475

Rep: Reputation: 86

Yes, it is possible.

Have fun!

Happy Penguins!
Old 12-27-2008, 06:38 AM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734
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.

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script terminated in terminal window 786 Linux - General 4 11-22-2008 05:57 PM
Script or Terminal command to switch audio output? jjsonp Linux - Software 0 01-26-2008 01:10 PM
X Output to Terminal Window? PantherX Linux - Software 2 10-12-2006 12:09 PM
Running script in separate shell window louisgag Linux - Newbie 2 06-15-2005 05:11 PM
displaying terminal output on root window? mporter Slackware 2 03-21-2003 01:58 AM

All times are GMT -5. The time now is 11:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration