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/linux/getent.md

25 lines
396 B
Markdown
Raw Normal View History

# getent
> Name Service Switch 라이브러리에서 항목을 가져옵니다.
> 더 많은 정보: <https://manned.org/getent>.
- 모든 그룹 나열:
`getent group`
- 그룹의 멤버 확인:
`getent group {{그룹_이름}}`
- 모든 서비스 나열:
`getent services`
- UID로 사용자명 찾기:
`getent passwd 1000`
- 역방향 DNS 조회 수행:
`getent hosts {{호스트}}`