How to use who & whoami command in Linux

Опубликовано: 15 Июль 2026
на канале: Technical Junction
13,392
198

Linux Tutorial | In this video you will learn the usage of who & whoami command in Linux with the help of various example.

whoami : Print the currently logged in user name.

who am i : Print the currently logged in user name with additional details Such as User name, terminal no, login date & time and name of machine from where you logged in.

who : Print the information about all users who are currently logged in to machine.

who -H : To put the header above every column.

who -q : Count the how many users currently logged in and also print their name.