Results 1 to 3 of 3
Hello All
I am sure this has been covered before, however I do not know which terms to sue for searching for this, so I will try and explain it.
...
- 02-15-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 2
[SOLVED] Details on piping information into command
Hello All
I am sure this has been covered before, however I do not know which terms to sue for searching for this, so I will try and explain it.
I have a program that I run at startup to connect me to my work VPN, specifically the Cisco VPN client. When running the program, it prompts me for my username and password. I would like to be able to automate the login process by piping the username and password into the program everytime it starts up (username and password cannot be passed as arguments to the program)
Something like echo username | echo password | vpn_script
Thanks and sorry if this is a vague description of what I am looking forLast edited by marker5a; 02-15-2011 at 02:03 PM.
- 02-15-2011 #2
Have a look at "expect"
Code:man expect
You must always face the curtain with a bow.
- 02-15-2011 #3Just Joined!
- Join Date
- Feb 2011
- Posts
- 2
That is perfect, thank you!


