Redis-cli

From wikinotes
redis-cli -h domain.com           # connect to redis on cli
redis-cli -h domain.com FLUSHALL  # execute 'FLUSHALL' and exit