I have an alias to connect to my vpn, which is alias vpnc="printf \'username\\npassword\\n\' | /opt/cisco/anyconnect/bin/vpn -s connect vpnhost.com"
alias vpnc="printf \'username\\npassword\\n\' | /opt/cisco/anyconnect/bin/vpn -s connect vpnhost.com"