Jump to content

Request: Edit Hosts File

Recommended Posts

Has anyone created a workflow for more robust editing of the hosts file?


Of course, typing this into Terminal works just fine:

sudo nano /private/etc/hosts


But was wondering if anyone has taken it beyond the basics? (Like opening in TextWrangler / TextEdit, etc)

Link to comment

I just press 'ga' and hit Enter to open Gas Mask and edit hosts file.




You can very well set a custom keyword like 'hosts' to open that app if you think that app name is not easy enough to remember by creating a workflow.




Here is my little workflow that launches 'Gas Mask' app (if present, of course) using the hosts keyword: http://cl.ly/0T2L2s3n0L2R

Edited by Sridhar Katakam
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...