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?

1 of 5 people (20%) answered Yes
Recently 1 of 5 people (20%) answered Yes

Entry

Linux: Logon: Userid: Operation: View: How to view the current userid? [whoami]

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


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

Linux: Logon: Userid: Operation: View: How to view the current userid? 
[whoami]

Type the command

 whoami

on the command line

---

e.g. if you are currently logged in as 'john',
this will show:

 john

---

Internet: see also:

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

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