diff --git a/home_zsh/.zsh/functions/novahosts b/home_zsh/.zsh/functions/novahosts new file mode 100755 index 0000000..3fc7c74 --- /dev/null +++ b/home_zsh/.zsh/functions/novahosts @@ -0,0 +1 @@ +nova list| awk -F'|' {'print $3, $7'} | awk -F ' ' {'printf "%-30s %s\n", $1, $5'} \ No newline at end of file diff --git a/home_zsh/.zsh/functions/novaips b/home_zsh/.zsh/functions/novaips new file mode 100755 index 0000000..d18ba3f --- /dev/null +++ b/home_zsh/.zsh/functions/novaips @@ -0,0 +1 @@ +nova list| awk -F'|' {'print $7'} | awk -F ' ' {'print $4'} | grep --color=none 10 \ No newline at end of file diff --git a/home_zsh/.zsh/functions/vpn b/home_zsh/.zsh/functions/vpn new file mode 100755 index 0000000..94acc93 --- /dev/null +++ b/home_zsh/.zsh/functions/vpn @@ -0,0 +1,7 @@ +# vpn functions +tuntapme () { +sudo ip tuntap add vpn0 mode tun user tracey +} +vpn () { +sudo openconnect --juniper -i vpn0 -s 'sudo -E /usr/share/vpnc-scripts/vpnc-script' --useragent 'Mozilla/5.0 (Linux) Firefox' --csd-wrapper=tncc.py https://secureaccess.cpanel.net/dana-na/auth/url_1/welcome.cgi +}