Linux 使用id命令查看用户的UID和GID
Feb 6, 2023
2 min read
id命令可以查询用户的UID、GID和附加组的信息。命令比较简单,格式如下:
[
root@localhost ~
]
# id [用户名]