关于取出/etc/passwd中root用户的uid(第3字段)和gid(第4字段),下面正确的是( )
awk –P: ‘/^root/{print $3,$4}’ /etc/passwd
awk -F: ‘/^root/{print $3,$4}’ /etc/passwd
awk -P: ‘/^root/~{print $3,$4}’ /etc/passwd
awk -F: ‘/^root/~{print $3,$4}’ /etc/passwd