如何列出 Linux 上的所有用户和组?

liu*_*ruo 4 linux

如何列出 Linux 上的所有用户和组?

这有什么之间的区别user:rootuser:othergroup

Ign*_*ams 8

getent(1)

user:root是 useruser和 group的组合rootuser:othergroup是 useruser和 group的组合othergroup