LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-16-2003, 11:58 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 599

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
bela
 
Old 08-16-2003, 01:34 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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

Where X is the device.
 
Old 08-17-2003, 01:28 PM   #3
slapNUT
Member
 
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
 
  


Reply


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 03:12 AM
Send output to seperate terminals? Brain Drop Programming 3 02-25-2005 11:44 PM
Can not send cron output to the screen tryingHarder Linux - Newbie 3 09-26-2004 11:11 PM
How do I send output to the printer? Toker Linux - General 2 09-29-2003 11:16 AM
I get following output to xterm when launching xmms ... purpleburple Linux - General 11 07-26-2002 07:10 AM


All times are GMT -5. The time now is 10:00 PM.

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