追求新境界
2012年8月16日 星期四
Check members belonging to a group
Under Mac OS, sometimes we want to know whether we belongs to the 'admin' group :
dscacheutil -q group -a name admin
and we get the responses :
name: admin password: * gid: 80 users: root tom
More details about this command are in man pages.
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)