Date: Sun, 27 Jan 2013 15:24:52 -0500 From: "illoai@gmail.com" <illoai@gmail.com> To: cpet@sdf.org Cc: Fbsd8 <fbsd8@a1poweruser.com>, FreeBSD questions <questions@freebsd.org> Subject: Re: who am i logged in as Message-ID: <CAHHBGkqHwxJc2SbTmHCC%2BKZOjsy%2B%2Bwv6s0h_nCweMvvFq_qbAQ@mail.gmail.com> In-Reply-To: <290f5ae2dcb93a7a4a97afa7acf4fbcd.squirrel@wm.sdf.org> References: <51054F6A.1080701@a1poweruser.com> <290f5ae2dcb93a7a4a97afa7acf4fbcd.squirrel@wm.sdf.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27 January 2013 11:31, <cpet@sdf.org> 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? >> >> Thanks >> > 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 > ~> ls -li `which whoami id` 1201423 -r-xr-xr-x 3 root wheel 12008 Nov 30 20:26 /usr/bin/id 1201423 -r-xr-xr-x 3 root wheel 12008 Nov 30 20:26 /usr/bin/whoami -- --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHHBGkqHwxJc2SbTmHCC%2BKZOjsy%2B%2Bwv6s0h_nCweMvvFq_qbAQ>