<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Whoami</id>
	<title>Whoami - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Whoami"/>
	<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Whoami&amp;action=history"/>
	<updated>2026-05-15T09:12:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=Whoami&amp;diff=208&amp;oldid=prev</id>
		<title>Ardika Sulistija: Created page with &quot;https://www.thegeekstuff.com/2009/03/4-ways-to-identify-who-is-logged-in-on-your-linux-system/  &lt;b&gt;whoami&lt;/b&gt; command is used to print the loggedin user name.  $ whoami  john   &lt;b&gt;whoami&lt;/b&gt; gives the same output as &lt;b&gt;id -un&lt;/b&gt; as shown below:  $ id -un  john   &lt;b&gt;whoami&lt;/b&gt; command will display the logged-in user name and current tty details. The output of this command contains the following columns: logged-in user name, tty name, current time with date and ip-address...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Whoami&amp;diff=208&amp;oldid=prev"/>
		<updated>2024-09-11T14:37:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;https://www.thegeekstuff.com/2009/03/4-ways-to-identify-who-is-logged-in-on-your-linux-system/  &amp;lt;b&amp;gt;whoami&amp;lt;/b&amp;gt; command is used to print the loggedin user name.  $ whoami  john   &amp;lt;b&amp;gt;whoami&amp;lt;/b&amp;gt; gives the same output as &amp;lt;b&amp;gt;id -un&amp;lt;/b&amp;gt; as shown below:  $ id -un  john   &amp;lt;b&amp;gt;whoami&amp;lt;/b&amp;gt; command will display the logged-in user name and current tty details. The output of this command contains the following columns: logged-in user name, tty name, current time with date and ip-address...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;https://www.thegeekstuff.com/2009/03/4-ways-to-identify-who-is-logged-in-on-your-linux-system/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;whoami&amp;lt;/b&amp;gt; command is used to print the loggedin user name.&lt;br /&gt;
 $ whoami&lt;br /&gt;
 john&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;b&amp;gt;whoami&amp;lt;/b&amp;gt; gives the same output as &amp;lt;b&amp;gt;id -un&amp;lt;/b&amp;gt; as shown below:&lt;br /&gt;
 $ id -un&lt;br /&gt;
 john&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;b&amp;gt;whoami&amp;lt;/b&amp;gt; command will display the logged-in user name and current tty details. The output of this command contains the following columns: logged-in user name, tty name, current time with date and ip-address from where this users initiated the connection.&lt;br /&gt;
 $ who am i&lt;br /&gt;
 john     pts/2        2009-03-28 23:04 (dev-db-server)&lt;br /&gt;
 &lt;br /&gt;
 $ who mom likes&lt;br /&gt;
 john     pts/2        2009-03-28 23:04 (dev-db-server)&lt;br /&gt;
 &lt;br /&gt;
 $ who mom hates&lt;br /&gt;
 ec2-user pts/0        2020-06-15 05:43 (ip68-100-237-178.dc.dc.cox.net)&lt;br /&gt;
 &lt;br /&gt;
 $ who -m&lt;br /&gt;
saml     pts/1        2014-01-06 09:44 (:0)&lt;br /&gt;
 &lt;br /&gt;
 $ who likes candy&lt;br /&gt;
 saml     pts/1        2014-01-06 09:44 (:0)&lt;br /&gt;
 &lt;br /&gt;
 $ who eats cookies&lt;br /&gt;
 saml     pts/1        2014-01-06 09:44 (:0)&lt;br /&gt;
  &lt;br /&gt;
 $ who blah blah&lt;br /&gt;
 saml     pts/1        2014-01-06 09:44 (:0)&lt;br /&gt;
&lt;br /&gt;
Warning: Don&amp;#039;t try &amp;quot;who mom hates&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
Also, if you do su to some other user, this command will give the information about the logged in user name details.&lt;/div&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
</feed>