Last active
September 17, 2015 20:43
-
-
Save dreadwarrior/2c9b9743696049b57de9 to your computer and use it in GitHub Desktop.
bash_aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias g10psn='glances --time 10 --process-short-name' | |
#alias vmpm="VBoxManage showvminfo $(cat .vagrant/machines/$(vagrant status | sed -n 3p | awk '{print $1}')/virtualbox/id) | grep ^NIC | grep 'host port'" | |
alias vmpm='vname=`vagrant status | awk "NR==3 {print \\$1}"`; vid=`cat .vagrant/machines/\$vname/virtualbox/id`; VBoxManage showvminfo $vid | grep "^NIC.*host port"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment