Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 251 Bytes

hosts.md

File metadata and controls

8 lines (6 loc) · 251 Bytes

Host Editor

Given an IP address and a list of domains, add them to the host file (/etc/hosts). It ensures that previous records are updated or removed.

$ onectf hosts 127.0.0.1 a.test --dry
$ sudo onectf hosts 127.0.0.1 a.test b.test