No, the whoami command only displays the username of the currently logged-in user. It does not provide details about other users on the system. If you need to see information about other users, you can use commands like id, getent, or cat /etc/passwd, which can provide more detailed information about user accounts on the system.
For example, to see details about a specific user, you can use:
id username
Replace username with the actual username you want to inquire about. This will show the user ID (UID), group ID (GID), and groups the user belongs to.
