Gas Mask is simple hosts file manager for Mac OS X. It allows editing of host files and switching between them.
![Hosts Hosts](https://www.cisdem.com/resource/attach/file/images/add websites to hosts file.png)
To remove a file, select it and press the Remove button in toolbar. To activate a file, select it and press Activate button in toolbar, or select it from tray icon when the editor is hidden. Gas Mask will update the /etc/hosts file with the currently activated file. The active file is marked with a check in the editor list, and can also be. Only the duplicate will include your changes. Cancel Duplicate' The hosts file belongs to the root user and while anyone can easily open the hosts file in TextEdit, one cannot just edit it unless opened as root, as suggested in the accepted answer, although that too may have issues all these years later. Upgrade to yosemite mac for free. – user3439894 Jan 3 '19 at 18:56. I just KNEW that someone must have written this app. Was pleased when a co-worker pointed me at this. No more hacking my /etc/hosts file in an editor to switch names and numbers. Simple, elegant, and super easy to use. Love being able to see the actual hosts file. Before making changes on the hosts file, you should first backup the files. The hosts file can be backup by entering the hosts backup command in the terminal app. When making edits in the file, you cannot use mouse click as the mouse has been disabled in the text editor. Instead, you are to use the arrow keys to travel to different lines.
The Mac hosts file is located inside a folder /etc/hosts which used by OS system to map the hostnames (domain name) to IP addresses.
The Use of Mac Hosts File
- To block the site’s page. You can use the Mac hosts file to block harmful sites like porn sites, or to block social media that may gets you unproductive, like block facebook.
- To block advertisements. Besides blocking ads, it can also block banners, 3rd party cookies, 3rd party page counters, web bugs, and even most hijackers.
- To propagate DNS when the hosting is moved. If you plan to move your site’s hosting to other providers, and you want the process runs faster without you need to wait for DNS propagation, then you can redirect the site’s address to the new IP hosting.
Why to Use Gask Mask (Mac) ?
The hosts file on your Mac which is located inside folder /etc/ cannot be edited directly using TextEdit application because the hosts file is locked by the system.
In order to do that, you can use nano editor in Terminal through command line:
However, if you are an beginner user, such step is a bit difficult because you need to remember the command and enter that command line.
Mac Os Edit Hosts File
Blackberry download manager for mac. Afterward, you need to do a Flush DNS[fn id=”1″] with command of:
Therefore, you can still do the editing with ease using an application called Gas Mask (Mac).
What is Gas Mask (Mac) anyway?
Brother dcp-165c driver download mac. Gas Mask (Mac) is a free application (open source) which can be used as Hosts file manager, hosts files editor and switch between them.
Having not only Editor Window to edit hosts file, Gas Mask offers you a service to produce several hosts file Profile such as, Original Hosts File, Block Ads, and Block SocMed, plus we can easily change the hosts file profile by only clicking the icon Gas Mask on menu bar.
Gas Mask Menu Bar Icon
Mac Hosts File App Windows 10
![Mac Mac](/uploads/1/3/3/8/133879158/455809939.png)
Google play app on desktop. Autocad 2003 free download full version with crack. How to terminate an app in mac. Folder lock professional free download. By activating the Hosts file profile we want, the Gas Mask (Mac) will automatically run the flush DNS.
3 Types Gas Mask (Mac) Hosts File:
- Local. This type hosts file will created and saved on your local Mac Computer.
- Remote. With this, you can create hosts file by adding url collection of blocked sites like https://someonewhocares.org/hosts/ or https://winhelp2002.mvps.org/hosts.htm.
- Combined. You can combining local and remote hosts.
How to Use Gas Mask (Mac)
- Download and Install Gas Mask (Mac).
- Open and run the Gas Mask (Mac) application. The Icon Gas Mask (Mac) will appear on menu bar.
- Click Icon Gas Mask (Mac) on menu bar and choose Show Editor Window.
- On Editor Window Gas Mask (Mac) you can make a new hosts file without changing the Original Hosts File.
- Then choose the new Hosts File Profile you’ve just created and click Save and Active.
- You can also change the hosts file profile through icon gas mask (Mac) which is available on menu bar.
Summary
The emergent of Gas Mask (Mac) application really assists you in editing the hosts file without suffering from headache because you don’t need to remember the command line in Terminal.