PDA

View Full Version : [ubuntu] who's who



rumo59
August 2nd, 2009, 08:53 AM
I've only been using Ubuntu 9.04 for a few days now and still experimenting so very sorry if this is normal.
Looking through this fantastic forum I've been trying out a few commands just to get the feel of the system and to see what the outcome is.
In the terminal I typed who to find who was on the system bearing in mind that I'm the only user, the result was:

myname tty7 2009-07-28 08:06 (:0)

myname pts/0 2009-07-28 08:43 (:0.0)

Is this normal?

Thanks

hansdown
August 2nd, 2009, 08:58 AM
Hi rumo59.

My output is the same.

Welcome to the forum.

lotharmat
August 2nd, 2009, 08:58 AM
Is one the terminal and one Xorg?

rumo59
August 2nd, 2009, 09:02 AM
I have no idea

Bodsda
August 2nd, 2009, 09:06 AM
I've only been using Ubuntu 9.04 for a few days now and still experimenting so very sorry if this is normal.
Looking through this fantastic forum I've been trying out a few commands just to get the feel of the system and to see what the outcome is.
In the terminal I typed who to find who was on the system bearing in mind that I'm the only user, the result was:

myname tty7 2009-07-28 08:06 (:0)

myname pts/0 2009-07-28 08:43 (:0.0)

Is this normal?

Thanks

The first one is you, logged on in your gaphical display, the second is a pseudo terminal slave

rumo59
August 2nd, 2009, 09:10 AM
Thanks Bodsda

Not sure what that means yet, but if its ok then thats fine

aesis05401
August 2nd, 2009, 09:25 AM
Hello,

You can open a terminal and do the following:


ps -e | less


The list of processes has three important columns. The first is the PID, which means process id. You can use this number to find out all sorts of info about a process in /proc/<pid>... but we don't need that extra info right now..

We want the second and fourth columns. Any pty or tty being used within your scope is listed here and the process name is in the third column.

Use regular pgUp/pgDn keys to navigate the list and press shift+q to exit back to your prompt.

Does this help?

rumo59
August 2nd, 2009, 09:27 AM
Thanks

I'm learning fast

aesis05401
August 2nd, 2009, 09:34 AM
You are in the right place.