Finding the user name via the shell

Michael R. Johnston mikej at cpmain.UUCP
Sun Dec 4 05:28:44 AEST 1988


In article <249 at tfli.UUCP>, mikej at tfli.UUCP (Thats me...) writes:
> 
> REALNAME=`grep "^$LOGNAME:" /etc/password|cut -d: -f5`

CORRECTION:                   /etc/passwd




-- 
                Michael R. Johnston - @NET: mikej at cpmain.uucp
...{cmcl2!phri!,uunet!}dasys1!cpmain!mikej || ...philabs!mergvax!cpmain!mikej



More information about the Comp.unix.xenix mailing list