명령어
$> 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