•  ru
ShellHacks
Command-Line Tips and Tricks

redis

  • Blog

Redis: SET/GET Key:Value – Redis-CLI

Posted on Wednesday May 23rd, 2018by admin

Redis is a key-value database (also known as a key-value store) that uses a simple key/value method to store data. Strings are the simplest data type in Redis and are simple key/value entries. To save or fetch string data there are Redis SET and GET commands. Redis SET command creates a key and assigns it […]

Read More
No comments yet
  • Blog

Redis: Delete All Keys – Redis-CLI

Posted on Wednesday May 23rd, 2018Wednesday May 23rd, 2018by admin

In Redis you can flush cache/database and delete all keys from all databases or from the particular database only using FLUSHALL and FLUSHDB commands. To delete all keys from all Redis databases, use the FLUSHALL command. To delete all keys of the selected Redis database only, use the FLUSHDB commnad.

Read More
2 Comments
  • Blog

Redis: Get All Keys – Redis-CLI

Posted on Wednesday May 23rd, 2018Thursday June 20th, 2019by admin

There are two ways to get all keys from the all databases in Redis. The first way is to list keys using –scan option and the second one is to get all keys using the KEYS command. Note that the first way of getting all keys is preferable as it doesn’t require the client to […]

Read More
4 Comments

Online Tools

  • Base64 Decode
  • Base64 Encode

Tags

access-control anonymity ansible apache archive artifactory aws bash boot cmd command-line curl dns docker encryption git java jenkins kubernetes linux mail mongodb mysql network nmap openssl oracle password pdf performance powershell prometheus proxy python rabbitmq raspberry pi redis ssh systemd telnet text-processing tor tsm windows yum
  • Twitter
  • RSS
Privacy
Copyright © 2011-2020 | www.ShellHacks.com