Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-16-2003, 10:58 AM   #1
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 620

Rep: Reputation: 31
how to send the output to another xterm?

hi friends,

I want to display the output of a script shell in an xterm, the script is running by crond, so no xterm is declared.
in the same way how to redirect the output of a command, say ls, to another xterm which is of course is open.

thanks for suggestion
Old 08-16-2003, 12:34 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Just redirect the output to that device - ie:
echo hello > /dev/pts/X

Where X is the device.
Old 08-17-2003, 12:28 PM   #3
Registered: Jun 2001
Location: Recycle Bin
Distribution: Linux & Everything else on VirtualBox
Posts: 144

Rep: Reputation: 15
You could always direct it to >/dev/console or to another login tty >/dev/tty2


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xterm will not produce output with -lf parameter jarobman Linux - General 2 03-06-2005 02:12 AM
Send output to seperate terminals? Brain Drop Programming 3 02-25-2005 10:44 PM
Can not send cron output to the screen tryingHarder Linux - Newbie 3 09-26-2004 10:11 PM
How do I send output to the printer? Toker Linux - General 2 09-29-2003 10:16 AM
I get following output to xterm when launching xmms ... purpleburple Linux - General 11 07-26-2002 06:10 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:55 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