Skip to content

Instantly share code, notes, and snippets.

@stephen-masters
Created March 4, 2011 10:33
Show Gist options
  • Save stephen-masters/854436 to your computer and use it in GitHub Desktop.
Save stephen-masters/854436 to your computer and use it in GitHub Desktop.
Shell snippets
Search through the file system and list files in size reverse order.
du -akd /a/root/dir | sort -nr | less
VirtualBox Config
Set up NAT port forwarding from host port 8000 to guest port 80.
VBoxManage modifyvm "MyGuest" --natpf1 "www,tcp,,8080,,80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment