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

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

 



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.


Vipul,

Please see: man xterm

The answer to your question lies there. hint: the -e command line option.

Steve Cowles


-- 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