Does the expect command work after an su is executed in the script?
Question
Does the expect command work after an su is executed in the script?
Does expect work by emulating the feeding of key strokes to the terminal?
La solution
Yes and yes, although the second bit ("emulating ... key strokes") is an oversimplification.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow