Here is what I get when I type finger in the command line and press enter:
Login Name Tty Idle Login Time Office Office Phone
shawn Shawn tty7 4:26 Oct 4 14:29 (:0)
shawn Shawn pts/0 Oct 4 16:44 (:0.0)
Why is my name in there twice. Can I be logged in twice?
Thanks
Answer
You will see a single entry for each terminal You're connected to. Names from tty1 to tty6 are "regular" terminals (available at Ctrl+Alt+Fx, where x goes from 1 to 6), tty7 is used for GNOME/KDE session (one is active and You're logged and this is why You see this entry).
/dev/pty/x are virtual terminals, those available when You use e.g. gnome-terminal or when You log via ssh.
So yes, You'll usually see Yourself at least in 2 entries.
No comments:
Post a Comment