Using which to check only works if you have it installed. You might consider using yum's provides feature since you appear to not have it already.
Jim,
Thanks - I did the 'yum provides "*/expect"' and found the expect package. Did the install. However the spawn and send commands dont seem to be part of that package. Doing a yum provides on each gives me nothing.
I think the three commands are needed spawn,send and expect.
Am I missing something else?
Thanks so much,
Jerry