title: Retrieving/Listing all key/value pairs in a Redis db
body: <p>I'm using an ORM called Ohm in Ruby that works on top of Redis and am curious to find out how the data is actually stored. I was wondering if there is way to list all the keys/values in a Redis db.</p>
  
  <p>Any lead will go a long way in helping me out (I'm basically stuck atm). Thanks in advance!</p>
  
  <p><strong>Update:</strong><br>
  A note for others trying this out using redis-cli, use this:</p>
  
  <pre><code>$ redis-cli keys
  * (press * followed by Ctrl-D)
  ... (prints a list of keys and exits)
  $
  </code></pre>
  
  <p>Thanks @antirez and @hellvinz!</p>