Which command is used to display only the user’s primary group?

Which command is used to display only the user’s primary group?Category: Linux EssentialsWhich command is used to display only the user’s primary group?
Linux Questions Staff asked 1 year ago

Which command is used to display only the user’s primary group?

  • man
  • whoami
  • who
  • about
  • id -g

About the author