asked 71.5k views
5 votes
Which command can be used to enumerate basic user information for UNIX network resources?

1) ls
2) pwd
3) whoami
4) ifconfig

1 Answer

3 votes

Final answer:

The whoami command is used to display the username of the current user in the UNIX system, fulfilling the requirement to enumerate basic user information.

Step-by-step explanation:

The command to enumerate basic user information for UNIX network resources from the given options is whoami. This command will tell the user their own username in the system. It's a straightforward command used to quickly ascertain the current user's identity within a UNIX environment. Commands such as ls (for listing directory contents), pwd (for displaying the current directory), and ifconfig (for configuring network interfaces) serve different purposes in the UNIX system.

answered
User DotPi
by
7.7k points