Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question
both hands? (sorry, couldn't resist) – quack quixote Oct 4 '09 at 23:59
up vote 2 down vote accepted

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.

share|improve this answer

Yes, you can. As an example, have a look at my default gnome-terminal profile ("Run command as a login shell"). I log in every time I open a terminal.

alt text

finger typically shows you the currently active sessions as maintained in /var/run/utmp, which is where an entry is added whenever you begin any kind of "login" session. From man login:

       List of current login sessions.

       List of previous login sessions.
share|improve this answer

Local terminal and SSH session?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.