id

Display current user and group identity. More information: https://www.gnu.org/software/coreutils/id.

id

id -u

id -g

id username