title: Linux - How to list all users and their UIDs
body: <p>How to write a script for linux which list all users from /etc/passwd and their UID</p>
  <pre><code>User1 uid=0001
  User2 uid=0002
  ...
  </code></pre>
  <p>the script should use: grep, cut, id, for</p>