TechHelper icon
tech
Helper
TechHelper icon
techHelper

Redis Commands Quick Reference

Basic
start redis with the related configuration file
redis-server /path/redis.conf
opens a redis prompt
redis-cli
Restart Redis
sudo systemctl restart redis.service
find all keys matching the given pattern
KEYS pattern
Check Redis status
sudo systemctl status redis
String
append a value to a key
APPEND key value
count set bits in a string
BITCOUNT key [start end]
set value in key
SET key value
set if not exist value in key
SETNX key value
overwrite part of a string at key starting at the specified offset
SETRANGE key offset value

Commands Cheat Sheet

A vast collection of cheatsheets from popular tools and technologies with quick search functionlity and customizability

Query

Search for any commands from the list of tools and technologies as a whole from the All section or dedicated sections for each tool.

Tools/Technologies

Cheat sheets or commands from Docker, Kubernetes, Kafka, Redis, Git, Curl, SSH & SCP, Helm are provided. More will be added shorly.

Subsection

The command subsection is provided on the top right corner

Add new commands

Add new commands by clicking on the "Add New Command" button. In the wizard which opens up, select any exisitng categories or type (and press enter) to add new categories. Add subsections if needed in the next step. In the next step, add a meaningful description of the command which would help in searching. In the final step, enter the command you want to save.
Newly created categories would be added as buttons along with the existing categories.

Copy Command

You can copy the command to clipboard by clicking on the Copy button.

Show more

By default 10 query results are shown in the page. If more are present, the Show More button is displayed and on clicking, the entire results are shown.

techHelperFree tool box for developers and testers

Copyright © 2024 TechHelper. All Rights Reserved.