用于管理hosts
文件的 Alfred 工作流程。
-
查看 hosts
hosts
-
添加(如果已存在对应的域名,会进行更新)
hosts add 127.0.0.1 google.com
-
删除
hosts del google.com
注意事项:将系统密码设置为
password
的值。 (需要管理员权限修改hosts
文件)
Alfred workflow to manage the hosts file.
-
Quick View
hosts
-
Add (if the corresponding domain name already exists, it will be updated)
hosts add 127.0.0.1 google.com
-
Delete
hosts del google.com
Note: Set the system password to the value of password. (requires administrator privileges to modify the hosts file)