Now, since we have memcached installed, let's see what kind of commands memcached daemon supports and how simple the memcached protocol is.
We will be using a plain simple TELNET tool to connect to the memcached daemon.
Remember that memcached has no persistent storage whatsoever, so it's totally memory-based and once we terminate the daemon everything we have stored is simply gone!
You will need to have telnet client installed on your machine, in most cases you will find it already installed but in case you didn't find it you can install it on your Ubuntu box using
sudo apt-get install telnet
You also must make sure that the memcached daemon is actually running.
Connect to the running memcached daemon ...