开发者

How to print out which groups the current process belongs to on Linux?

How can I get a list of groups that the c开发者_开发技巧urrently running process is subscribed too?


getegid(2), getgroups(2)


groups give the groups the current process is a member of. groups username is the groups of the username. See man groups

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜