title: equivalent command of net group /domain for linux?
body: <p>I've been searching for quite a while for this, And couldn't find it anywhere.</p>
  
  <p>Firstly, Is there equivalent command to:</p>
  
  <pre><code>wmic computersystem get domain
  </code></pre>
  
  <p>Which return the current user primary domain.</p>
  
  <p>And I've been wondering whether there's an equivalent command of:</p>
  
  <pre><code>net group /domain
  </code></pre>
  
  <p>A command that returns all the global groups of user current domain. </p>
  
  <p>So far I've been trying to search in different network files at /etc/, Currently the only relevant file I've found was reslov.conf which hold all the DNS, And it might contain more information than i actually need. [Which means that i'll have to query each domain there and 'ask' whether the user is associated with that domain] is there a way which is more efficient than that?</p>
  
  <p>Thanks.</p>