![Forrest logo](/images/logo.png)
query:tldr:c41db
query: Display logged in users.
$ query user
try on your machine
The "query user" command is a command used in Windows operating systems that displays information about the currently logged-in user. When executed in the command prompt, it shows the username, session name, session ID, and other details of the user who is currently logged in to the system. This command can be useful in scenarios where you need to verify the logged-in user's information or check if there are multiple user sessions active on the computer.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.