← Back In the print window choose “Save as PDF” as the printer.

VirtualBox cheatsheet

Run a whole second computer inside your computer

UnixDroid

How it works

  1. Host and guest — Your real computer is the host; each virtual machine is a guest.
  2. Virtual hardware — CPU, RAM, disk and network cards are shared safely.
  3. Snapshots — Save the exact state and return to it any time.
  4. Network modes — NAT gives internet; Host-only keeps a lab private.

First steps

VBoxManage --version
Check the installed version
VBoxManage list vms
List your virtual machines
VBoxManage snapshot "Ubuntu" take clean
Save a snapshot
VBoxManage snapshot "Ubuntu" restore clean
Go back to it
For practice labs use a Host-only network so test machines can never reach other devices. Practise only on your own computer, your own network or a lab that gives you permission. Using security tools on systems that are not yours can be a crime (in India under the IT Act).