0
alex@alex-laptop:~$ whoami
alex
alex@alex-laptop:~$ who
alex     tty7         2008-02-20 18:40 (:0)
alex     pts/0        2008-02-21 09:10 (:0.0)
alex@alex-laptop:~$

What does the second command mean? I'm logged in twice as alex?

And also, what does tty7 and pts/0 mean? And also, after the date and time, the (:0) and (:0.0). What do those mean?

Basically, what is this command telling me about the logged in users?

2
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by linux
0

>What does the second command mean? I'm logged in twice as alex?
Sort of. tty7 is your 'virtual terminal' which X runs on. 'pts' is a pseudo terminal, which would be the terminal window you're executing the 'who' command from.

>And also, after the date and time, the (:0) and (:0.0). What do those mean?
Those refer to the display/screen that they're running on. The first part, :0, is the display. The .0 is the actual screen it's running on.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.