On Wed, Sep 19, 2001 at 12:56:54PM +1100, Michael Lake wrote:

> So what I want is a unix command to tell me the current
> user of that script ie who invoked it.

[johnc@dropbear ~]$ who am i
dropbear.vastsystems.com.au!johnc    pts/2    Aug 27 11:21
[johnc@dropbear ~]$ whoami  
johnc
[johnc@dropbear ~]$ id -un
johnc


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to