Linux command
lid 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Example
sudo lid [username]
Example
sudo lid -g [groupname]
Example
sudo lid
说明
lid displays a user's groups or a group's users. It reads from the system's user and group databases to show membership information. Without arguments, it shows groups for the current user.
参数
- -g, --group
- Treat the argument as a group name and list its members
- name
- User or group name to query (user by default)
FAQ
What is the lid command used for?
lid displays a user's groups or a group's users. It reads from the system's user and group databases to show membership information. Without arguments, it shows groups for the current user.
How do I run a basic lid example?
Run `sudo lid [username]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -g, --group do in lid?
Treat the argument as a group name and list its members