[SunHELP] command for finding user information

John Kennedy sunhelp at sunhelp.org
Wed May 9 10:13:09 CDT 2001


Try:
grep :UID: /etc/passwd | cut -d: -f1
John

Xiaomei Zhou wrote:
> 
> Hi,
> 
> Does anyone know a command I can use to find user name using the user id? The command
> "id -a" only works if I know the user login name. Is there a command that can use
> user id to find user login name?
> 
> Thanks,
> Mei
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list