Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2013 16:31:49 -0000
From:      cpet@SDF.ORG
To:        "Fbsd8" <fbsd8@a1poweruser.com>
Cc:        FreeBSD questions <questions@freebsd.org>
Subject:   Re: who am i logged in as
Message-ID:  <290f5ae2dcb93a7a4a97afa7acf4fbcd.squirrel@wm.sdf.org>
In-Reply-To: <51054F6A.1080701@a1poweruser.com>
References:  <51054F6A.1080701@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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?
>
> Thanks
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>
name@hactar:/home/name % who
name            pts/0    Jan 27 16:31 (xxx.xxx.xxx.xxx)
name@hactar:/home/name % whoami
name
name@hactar:/home/name %

also id

man who
man whoami
man id




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