How to show current logged in users in linux? | who command | whoami

preview_player
Показать описание
How to show current logged in users in Linux ? it's just simple command called who command. Just type who in your terminal and you will find currently logged user.

but what if you want to see what type of user is logged in ? then you have to type whoami command in your terminal which prints the type of user like is it, root user or a normal user.

Рекомендации по теме