Which of the following can be used to view username, UID (User ID), GID (Group ID), full name, home directory, and default shell information?

Which of the following can be used to view username, UID (User ID), GID (Group ID), full name, home directory, and default shell information? 








A. cat /etc/group
B. cat /etc/services
C. cat /etc/shadow
D. cat /etc/passwd









Answer: D


Learn More :

CompTIA

Learn More Multiple Choice Question :