title: Abuse cURL to communicate with Redis
body: <p>I want to send a <code>PING</code> to Redis to check if the connection is working, now I could just install <code>redis-cli</code>, but I don't want to and <code>curl</code> is already there. So how can I abuse <code>curl</code> to do that? Basically I need to turn off what's send here:</p>
  
  <pre><code>&gt; GET / HTTP/1.1
  &gt; User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
  &gt; Host: localhost:6379
  &gt; Accept: */*
  &gt; 
  -ERR wrong number of arguments for 'get' command
  -ERR unknown command 'User-Agent:'
  -ERR unknown command 'Host:'
  -ERR unknown command 'Accept:'
  </code></pre>
  
  <p>I was able to get rid of the <code>User-Agent</code> altogether by adding <code>-A ""</code>, but I can't find anything else for the rest. Any idea how I can do that?</p>