title: Linux: How can I display all linux users that have an UID between 300 and 500?
body: <p>I want to display all users that its UID between 300 and 500.
  I tried the grep command but I can't get the result that I need.</p>
  
  <p>I tried this syntax, but it does not work:</p>
  
  <pre><code>cat /etc/passwd | grep *:[300-500]
  </code></pre>