Forrest logo
back to context overview

id

List of commands for id:

  • id:tldr:50966 id: Display an arbitrary user's ID (UID), group ID (GID) and groups to which they belong.
    $ id ${username}
    try on your machine
    explain this command
  • id:tldr:b80bb id: Display current user's ID (UID), group ID (GID) and groups to which they belong.
    $ id
    try on your machine
    explain this command
  • id:tldr:c1b27 id: Display the current user identity as a number.
    $ id -u
    try on your machine
    explain this command
  • id:tldr:dd028 id: Display the current group identity as a number.
    $ id -g
    try on your machine
    explain this command
back to context overview