faqts : Computers : Operating Systems : Linux

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 10 people (90%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

Linux: Logon: Userid: Operation: View: How to view all currently logged on users? [finger / who]

Sep 19th, 2003 06:27
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 19 September 2003 - 03:17 pm ------------------

Linux: Logon: Userid: Operation: View: How to view all currently 
logged on users?

---
---

Method: use the 'finger' command:

---

Type the command:

 finger

on the command line

---

e.g.

 finger

---

shows for example the following:

+------------------------------------------------------------------+
|LOGIN      NAME      TTY   IDLE  LOGIN TIME   OFFICE  OFFICE PHONE|
+------------------------------------------------------------------+
|root       root     *tty1        Sep 19 11:24                     |
+------------------------------------------------------------------+

---
---

To get more information, type:

 man finger

---
---

Method: use the 'who' command:

---

Type the command:

 who

on the command line

---

e.g.

 who

---

shows for example the following:

------------------------------
 root       tty1  Sep 19 11:24
 root       pts/0 Sep 19 11:24
------------------------------

---

e.g.

 who | grep knud

checks if user 'knud' currently is logged on

---
---

To get more information, type:

 man who

---
---

Internet: see also:

How to create a new userid in Linux?
http://www.faqts.com/knowledge_base/view.phtml/aid/24526/fid/107

----------------------------------------------------------------------