Whoami: Revision history

Jump to: navigation, search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

11 September 2024

  • curprev 14:3714:37, 11 September 2024Ardika Sulistija talk contribs 1,175 bytes +1,175 Created page with "https://www.thegeekstuff.com/2009/03/4-ways-to-identify-who-is-logged-in-on-your-linux-system/ <b>whoami</b> command is used to print the loggedin user name. $ whoami john <b>whoami</b> gives the same output as <b>id -un</b> as shown below: $ id -un john <b>whoami</b> 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..."