who am i logged in as

Ralf Mardorf ralf.mardorf at rocketmail.com
Sun Jan 27 16:03:46 UTC 2013


On Sun, 27 Jan 2013 17:01:46 +0100, Fbsd8 <fbsd8 at 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


More information about the freebsd-questions mailing list