users  -  print the user names of users currently logged in to the current host

To print the user name currently logged in the host
$ users



regards,
T.Dhanasekar