alias -g PACKER_RDP='$(netstat -anlp |& grep 127.0.0.1:59 | tr -s " " | cut -d " " -f 4)'
rdesktop-vrdp PACKER_RDP
Last active
June 5, 2018 14:07
-
-
Save dyindude/5b242266cc0e3148753416bfc8e4aca0 to your computer and use it in GitHub Desktop.
zsh global alias for grabbing current packer rdp port
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment