Skip to content

Instantly share code, notes, and snippets.

@nasrabadiAM
Last active August 9, 2018 16:41
Show Gist options
  • Select an option

  • Save nasrabadiAM/6101eac6a7e2f7f431e295e1bde7c1a3 to your computer and use it in GitHub Desktop.

Select an option

Save nasrabadiAM/6101eac6a7e2f7f431e295e1bde7c1a3 to your computer and use it in GitHub Desktop.
Bash Script For starting a cisco connection
#!/bin/bash
echo -e "yes\nusername\npassword" | sudo openconnect connectionUrl
@nasrabadiAM
Copy link
Copy Markdown
Author

you can pass parameters in first part and in between ".
each parameter should separate with \n character.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment