1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/common/hostess.md

21 lines
479 B
Markdown
Raw Normal View History

# hostess
> `/etc/hosts` 파일 관리.
> 더 많은 정보: <https://github.com/cbednarski/hostess>.
- 도메인, 대상 IP 주소 및 켜기/끄기 상태를 나열:
`hostess list`
- 호스트 파일에 컴퓨터를 가리키는 도메인을 추가:
`hostess add {{local.example.com}} {{127.0.0.1}}`
- 호스트 파일에서 도메인을 제거:
`hostess del {{local.example.com}}`
- 도메인 비활성화(제거하지는 않음):
`hostess off {{local.example.com}}`