Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2013 17:03:39 +0100
From:      "Ralf Mardorf" <ralf.mardorf@rocketmail.com>
To:        "FreeBSD questions" <questions@freebsd.org>, Fbsd8 <fbsd8@a1poweruser.com>
Subject:   Re: who am i logged in as
Message-ID:  <op.wrkuwdc9uwjkcr@freebsd>
In-Reply-To: <51054F6A.1080701@a1poweruser.com>
References:  <51054F6A.1080701@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Jan 2013 17:01:46 +0100, Fbsd8 <fbsd8@a1poweruser.com> wrote:

> I know there is a command that will give me the name
> of the account I am logged in on.
>
> But I can not recall the name of this command.
>
> What is the name of this command?

As user run

$ id
uid=1000(rocketmouse) gid=1000(rocketmouse)  
groups=1000(rocketmouse),0(wheel)
$ groups
rocketmouse wheel
$ whoami
rocketmouse



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wrkuwdc9uwjkcr>