Skip to content

Instantly share code, notes, and snippets.

@MelonSmasher
MelonSmasher / HDD_Cloning_in_Linux_BSD_Solaris.md
Created November 28, 2017 15:44
How to capture an entire disk to a compressed file and then restore that file to a disk.

HDD Cloning in Linux / BSD / Solaris

Prerequisites:

Set disk & disk size:

@MelonSmasher
MelonSmasher / AddEntryToHostsFile.md
Last active February 3, 2016 01:36
Edit Hosts File On OS X

Add Entry To Hosts File

  • To edit to your hosts file start by opening your terminal.
  • Then run the following command:
sudo nano /etc/hosts
  • When you are prompted for your password enter it.