scmuser created the topic: expect command in unix /linux?
Hello,
I am doing a project which asks me to enter password 4 times in a row. I need to enter the same password 4 times. My target is to enter password once and apply it 4 times.
My friend told me to use “expect” command. Can you please give me a sample code to do so.
sample command :- $ ssh @(like :ssh root@127.0.0.1)
enter ‘s password:
Could somebody plz tell me where the command “expect” is used. and wud appreciate if you can write a simple standalone script that uses this command. thanks
rajeshkumar replied the topic: Re: expect command in unix /linux?
- What Popular Apps Were Built With C/C++. Why Other Programming Languages Would Not Suit? - January 9, 2025
- Top 11 DevOps consulting companies in 2024. - January 8, 2025
- Atlassian Jira Demo - January 4, 2025