Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cs.utexas.edu!sm.unisys.com!csun!polyslo!mdella From: mdella@polyslo.CalPoly.EDU (Marcos R. Della) Newsgroups: comp.unix.xenix Subject: Finding the user name via the shell Keywords: shell variables Message-ID: <6323@polyslo.CalPoly.EDU> Date: 1 Dec 88 00:32:04 GMT Organization: Cal Poly State Univ,CSC Dept,San Luis Obispo,CA 93407 Lines: 11 I was wondering if anyone out there knew how to determine the users login name while running a shell script. I can get the home address $HOME, but not the name. This is under sco xenix 2.2.3 I think... Marcos -- ..!csustan ->!polyslo!mdella | mdella@polyslo | Whatever I said doesn't ..!sdsu ---/ Marcos R. Della | (805) 543-0135 | mean diddly as I forgot ..!csun --/ 225 N. Chorro St / it even before finishing ..!dmsd -/ San Luis Obispo, CA 93401 / typing it all out!!! :-)