How to view information about all Linux users and groups?

  1. cat / etc / passwd
    to view information for all users
  2. cat / etc / passwd | grep username
    to find a user
  3. cat / etc / group | grep group name
    to find a user group
Published 109 original articles · won praise 101 · views 360 000 +

Guess you like

Origin blog.csdn.net/Alen_xiaoxin/article/details/105032739