Sample Header Ad - 728x90

Difference between who and whoami commands

10 votes
3 answers
59170 views
The man page description of who command is who - show who is logged on But there exists a similar command whoami. The man page description of whoami is whoami - print effective userid Can anyone explain what exactly these commands do ? How are they different from each other ?
Asked by narendra-choudhary (858 rep)
Sep 19, 2014, 05:07 PM
Last activity: Dec 14, 2020, 07:33 PM