Linux WHOAMI Command

whoami command is used to display the username of currently logged on user to the terminal.

Syntax

$whoami

Example


$whoami
							 
Share Share on Facebook Share on Twitter Share on Google+ Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit