要查看系统所有用户在Linux系统中,可以使用以下命令:
/etc/passwd
cat /etc/passwd
getent
getent passwd
cut
cut -d: -f1 /etc/passwd
awk
awk -F: '{print $1}' /etc/passwd