From owner-freebsd-questions@FreeBSD.ORG Sun Jan 27 20:24:52 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EF610565 for ; Sun, 27 Jan 2013 20:24:52 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-ie0-x229.google.com (ie-in-x0229.1e100.net [IPv6:2607:f8b0:4001:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id A055E65D for ; Sun, 27 Jan 2013 20:24:52 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id c14so659545ieb.28 for ; Sun, 27 Jan 2013 12:24:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Z1oaiDXyI6CQbTa8ss9fCjMpGKJg94g9VbCBze0HE5c=; b=HDrHg709gddqSgkC1U4F4d9do61yhVcSC8wydWjZ9GR2mah9bXtpDTSIBLILzFaRhj HkgDCiGFINahyyrbTMkyB5RwWygb9v9Yk0HBEUPMG0kfGyJXD0CpgquqZbvhnFJryoc7 J0ZDazJ0jto/JfhvGZPQu3pqP9QP5kEdxe/OtncNOB/GIZZhmHbRB0DXdBov0MsnLkmV XRt8RTyLx4V7GDyptqVjWzn+/0A+lcrvh12SJhxJ3cEZmqA9V49qIHIsAFVkdBC5dMFF LrDAqscNkeSjZicK1tqfgsh2MWgFgmZNlN0XeD6t75kB8/+b4kr3Qbb4dQoZ4yzkv19H z5Hw== MIME-Version: 1.0 X-Received: by 10.50.11.161 with SMTP id r1mr3419990igb.13.1359318292254; Sun, 27 Jan 2013 12:24:52 -0800 (PST) Received: by 10.64.5.70 with HTTP; Sun, 27 Jan 2013 12:24:52 -0800 (PST) In-Reply-To: <290f5ae2dcb93a7a4a97afa7acf4fbcd.squirrel@wm.sdf.org> References: <51054F6A.1080701@a1poweruser.com> <290f5ae2dcb93a7a4a97afa7acf4fbcd.squirrel@wm.sdf.org> Date: Sun, 27 Jan 2013 15:24:52 -0500 Message-ID: Subject: Re: who am i logged in as From: "illoai@gmail.com" To: cpet@sdf.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Fbsd8 , FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2013 20:24:53 -0000 On 27 January 2013 11:31, 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 -- --