Re: how to redirect command in export display in shell script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 3 Sep 2004, Vipul Ramani wrote:

> HI , ALL,
>         i want to write 1 scripts which basically export local display
> in local only after that run xterm &  n run few command on that
> expoert display i tired but i wont run.so any one plz let me know..
> #!/bin/sh
> DISPALY=127.0.0.1
> export DISPLAY
> xterm & 
> date 
> 
> while i run this script date command print in same terminal instead of
> exported xterm i want to run date command in new exported xterm
> window.
> thanks in adv.

Well, to start, you've got your variable mispelled.

Second, you might want to make the value 127.0.0.1:0.

Third, you might want to just save a step, and "export DISPLAY=127.0.0.1:0

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux