Skip to content

Instantly share code, notes, and snippets.

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