$> cat /etc/passwd
$> cut -f1 -d: /etc/passwd
실행예시
[root@zetawiki ~]# cat /etc/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
.. (생략)
named:x:25:25:Named:/var/named:/sbin/nologin
[root@zetawiki ~]# cut -f1 -d: /etc/passwd
root
bin
daemon
.. (생략)
named
===== Ref =====
{{tag>천호동밤안개}}