What is the command to know user identity in RHEL system?

Asked By 100 points N/A Posted on -
qa-featured

When I at workstation in linux system , I have to open many terminal at the same time and I usually forget the user ID which I belong to in current terminal, is there any solution in RHEL Os?

SHARE
Answered By 0 points N/A #133779

What is the command to know user identity in RHEL system?

qa-featured

Hi Riley,

There are few short commands to figure out your problem, I am leaving some command below that can help you,

User Identification Command:

# whoami                    finds out who you are
# groups,                    id what groups you belong to
# users, who, w          find out who is logged in
# last                           login/reboot history

Britnu Salu

Related Questions