I need a script that would do this for me:

xhost krypton
rlogin krypton
(enter login name)
(enter password)
export DISPLAY=my_ip_goes_here:0.0
sunapp(an application that I need to run)

if some one could please write a script that can do this for me I would really
apreciate it. I could probably do it my self but I left my bash book at home, and
dont want to puts around the man pages.



------ http://USFamily.Net/info - Unlimited Internet - From $8.99/mo! ------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drew.vcf
Type: text/x-vcard
Size: 265 bytes
Desc: Card for Andrew Nemchenko
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20010601/3ab0fb75/drew.vcf