to display or show information about logged in users in linux, you can use this command

finger


i hope this helps you understand explain the finger command does in linux