Skip to content

Instantly share code, notes, and snippets.

@ipang-dwi
Created November 5, 2018 09:49
Show Gist options
  • Save ipang-dwi/984c2caa329494b03c5c0ab88df8505c to your computer and use it in GitHub Desktop.
Save ipang-dwi/984c2caa329494b03c5c0ab88df8505c to your computer and use it in GitHub Desktop.
The location of the hosts file, depending on the operating system that you are using, is:
Windows - SystemRoot > system32 > drivers > etc > hosts
By default the system root is C:\Windows, so if you are using Windows, your hosts file is most probably: C:\Windows\System32\drivers\etc\hosts)
Linux - /etc/hosts
Mac OS X - /private/etc/hosts
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----
sgbteam
Single User License
EA7E-1153259
8891CBB9 F1513E4F 1A3405C1 A865D53F
115F202E 7B91AB2D 0D2A40ED 352B269B
76E84F0B CD69BFC7 59F2DFEF E267328F
215652A3 E88F9D8F 4C38E3BA 5B2DAAE4
969624E7 DC9CD4D5 717FB40C 1B9738CF
20B3C4F1 E917B5B3 87C38D9C ACCE7DD8
5F7EF854 86B9743C FADC04AA FB0DA5C0
F913BE58 42FEA319 F954EFDD AE881E0B
------ END LICENSE ------
The location of the hosts file, depending on the operating system that you are using, is:
Windows - SystemRoot > system32 > drivers > etc > hosts
By default the system root is C:\Windows, so if you are using Windows, your hosts file is most probably: C:\Windows\System32\drivers\etc\hosts)
Linux - /etc/hosts
Mac OS X - /private/etc/hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment