ShellHacks
Command-Line Tips and Tricks

redis

  • Blog

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

Posted on May 23, 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 May 23, 2018May 23, 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 May 23, 2018June 20, 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 arduino artifactory aws bash boot cmd command-line curl dns docker encryption git gitlab java jenkins kubernetes linux macos mail mongodb mysql network openssl password pdf php powershell prometheus python raspberry pi ssh sublime text telegram telnet text-processing tor tsm windows wordpress yum
  • Telegram
  • Twitter
  • RSS
Privacy
Copyright © 2011-2022 | www.ShellHacks.com