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?

>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.

Thanks again! :)

You have all the answers.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.