Logname

From LQWiki
Jump to: navigation, search

logname shows the current login name.

Provided by

Most (all?) Linux distributions incorporate this from the GNU Coreutils: and use its man page

Related Commands

All of these relate to user information.

  • id - dump UID and GID information.
  • whoami - show effective user ID.
  • groups - show groups of the current user.
  • users - show who is logged in.
  • who - show who is logged in from where.


This article is a stub and needs to be finished. Plunge forward and help it grow!