mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
hostess: add page (#2541)
This commit is contained in:
parent
960a3676bc
commit
fb6c361c7c
19
pages/common/hostess.md
Normal file
19
pages/common/hostess.md
Normal file
@ -0,0 +1,19 @@
|
||||
# hostess
|
||||
|
||||
> An idempotent command-line utility for managing your /etc/hosts file.
|
||||
|
||||
- List domains, target ips and on/off status:
|
||||
|
||||
`hostess list`
|
||||
|
||||
- Add a domain pointing to your machine to your hosts file:
|
||||
|
||||
`hostess add {{local.example.com}} {{127.0.0.1}}`
|
||||
|
||||
- Remove a domain from your hosts file:
|
||||
|
||||
`hostess del {{local.example.com}}`
|
||||
|
||||
- Disable a domain (but don't remove it completely):
|
||||
|
||||
`hostess off {{local.example.com}}`
|
Loading…
Reference in New Issue
Block a user