Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cwjcc!gatech!hubcap!ncrcae!ncrlnk!uunet!ispi!tfli!cpmain!mikej From: mikej@cpmain.UUCP (Michael R. Johnston) Newsgroups: comp.unix.xenix Subject: Re: Finding the user name via the shell Keywords: shell variables Message-ID: <339@cpmain.UUCP> Date: 3 Dec 88 19:28:44 GMT References: <6323@polyslo.CalPoly.EDU> <249@tfli.UUCP> Organization: Career Employment Service, Westbury, NY Lines: 12 In article <249@tfli.UUCP>, mikej@tfli.UUCP (Thats me...) writes: > > REALNAME=`grep "^$LOGNAME:" /etc/password|cut -d: -f5` CORRECTION: /etc/passwd -- Michael R. Johnston - @NET: mikej@cpmain.uucp ...{cmcl2!phri!,uunet!}dasys1!cpmain!mikej || ...philabs!mergvax!cpmain!mikej