When I run who on my ubuntu laptop I see myself listed twice. Once with pts/0 and once with pts/2. Why is that?
Asked
Active
Viewed 845 times
2
ryy
- 121
- 1
-
1These are different pseudo-terminal devices allocated to the different terminal emulators you have open. `pts/0` actually lives in `/dev/pts/0`. – Joseph R. Oct 20 '13 at 19:26
1 Answers
2
who shows each terminal you are logged in on. Separate terminal emulator windows (gnome-termal, xterm, etc.) and ssh instances are treated as completely separate "pseudo"-terminals, and therefore listed separately. When you ran who, you must have had two terminal windows open. If you try it with three, you will see yourself listed three times.
wingedsubmariner
- 2,884
- 1
- 17
- 21