Operating System - HP-UX
1751878 Members
5524 Online
108782 Solutions
New Discussion юеВ

Re: multiple scripts to execute within dtterm

 
eddie corban
Occasional Contributor

multiple scripts to execute within dtterm


Hi,

I wantto be able to execute
more than one script within a
dtterm session. Is it possible
? right now i use
dtterm -name host -e remsh host << here i would like to call another script thats on the host ?

Can i do it?
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor

Re: multiple scripts to execute within dtterm

Hi Eddy,

I cannot try it as I don't have Xwindows now, did you try this

dtterm -name host -e "script1;script2"

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Michael Tully
Honored Contributor

Re: multiple scripts to execute within dtterm

I tried Sridhar's example, but only the first script or program will work. The second bombs out.

$ dtterm -name host -e "bdf" or
$ dtterm -name host -e bdf
$ dtterm -name host -e ps -ef

I'm not sure how you would add a subsequent command/script.

Regards
Michael
Anyone for a Mutiny ?