romacode.com
  • Blog
  • Umbraco CMS
  • ASP.NET
  • Kentico CMS
  • Entity Framework
  • Contact
  • MyTrafficRoutes.com

How to edit hosts file on OSX

Wed Aug 20 2014

MacOS

Run this command to open the file to edit. You will need the administrator password:

sudo nano /private/etc/hosts

Then arrow down and add your entry to the file. To save, hit Control+X and it will prompt to save changes, enter "Y" to save.

C# 22
ASP.NET 17
SQL 10
Entity Framework 9
Dynamics AX 7
Kentico 7
x++ 5
Git 4
jQuery 4
Javascript 4
MacOS 3
Umbraco 3
Docker 2
Ubuntu 2
Qlikview 1
AngularJS 1
iOS 1
Objective-C 1
VB.NET 1
Razor 1
Gnome Shell 1
HTML 1
Linux 1
Python 1

Recent Posts

  • How to ignore files temporarily in git
  • How to get started with Microsoft SQL Server on Linux using Docker
  • Using Build Arguments in Docker Build
  • AutoHotKey script for mapping the Apple Key to Control Key
  • Fix for git not fetching all branches

romacode.com

  • Home
  • Blog
  • Contact
  • MyTrafficRoutes.com
Powered by
Kentico Cloud
+ React
+ AWS