I was looking for some shell commands, and I took a look in "users" command.
I was hoping to get only 1 name, but I got 2:
nori@nori-hidamari:~$ users
nori nori
And when I run the command "who"
nori@nori-hidamari:~$ who
nori :0 2015-04-09 09:31 (:0)
nori pts/0 2015-04-09 09:48 (:0)
Is this behaviour normal? Or it's bad?
Thank you guys for helping me.
Best Answer
This is normal expected behaviour.
You see your user name twice because you are logged in twice.
The second command
shows which user is online right now and it looks like you were online at that time with Graphical Display
:0
andpts/0
(a terminal window).After opening some more terminals it looks like this:
After opening more windows the count goes up in users: