Welcome to the most active Linux Forum on the web.
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, 04: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, 05:18 AM   #2
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,621

Rep: Reputation: 98

Yes, it is possible.

Have fun!

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

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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 06:57 PM
Script or Terminal command to switch audio output? jjsonp Linux - Software 0 01-26-2008 02:10 PM
X Output to Terminal Window? PantherX Linux - Software 2 10-12-2006 01:09 PM
Running script in separate shell window louisgag Linux - Newbie 2 06-15-2005 06:11 PM
displaying terminal output on root window? mporter Slackware 2 03-21-2003 02:58 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:15 PM.

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