"리눅스 getent"의 두 판 사이의 차이

1번째 줄: 1번째 줄:
==rody==
==개요==
;리눅스 getent
;리눅스 getent<ref>←get entry</ref>
;/usr/bin/getent  
;/usr/bin/getent
*엔트리 조회 리눅스 명령어
 
<source lang='dos'>
[root@jmnote ~]# getent passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
... (생략)
</source>
<source lang='dos'>
[root@jmnote ~]# getent passwd apache
apache:x:48:48:Apache:/var/www:/sbin/nologin
</source>
<source lang='dos'>
[root@jmnote ~]# getent group
root:x:0:
bin:x:1:bin,daemon
daemon:x:2:bin,daemon
</source>


==같이 보기==
==같이 보기==

2014년 6월 15일 (일) 09:54 판

1 개요

리눅스 getent[1]
/usr/bin/getent
  • 엔트리 조회 리눅스 명령어
[root@jmnote ~]# getent passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
... (생략)
[root@jmnote ~]# getent passwd apache
apache:x:48:48:Apache:/var/www:/sbin/nologin
[root@jmnote ~]# getent group
root:x:0:
bin:x:1:bin,daemon
daemon:x:2:bin,daemon

2 같이 보기

3 참고 자료

  1. ←get entry
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}