|
to nimish and vino
hi
my scenario is like this. i have telnetted to a machine. in that i have to run a process for which i have to change the prompt to say 'XYZ'. then in that prompt i have to stop a process by the command say, 'stop-process'. then i would quit that prompt by 'exit' command
I want a script to do this. the problem is the prompt is changed , but the command s not getting executed. my script luks like this.
#! /bin/csh -f
XYZ
sleep 15
stop-process
exit
how to do tht?
|