I am happy to be able to speak with you! I would like to submit a question to you linux who is logged in? Thank you kindly give me an answer please as soon as possible.
w command is used to show logged-in user names and what they are doing. The information will be read from /var/run/utmp file.