how to redirect command in export display in shell script

Vipul Ramani linux2000in at gmail.com
Fri Sep 3 13:45:22 UTC 2004


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.

-- 
Vipul Ramani
linux2000in at gmail.com
linux2000in at yahoo.com
~~~~~We Know HOW NetWorkS ~~~~~





More information about the redhat-list mailing list