---
title: "Discussion on \"Redis Cheatsheet\" | Hashnode"
description: "Discussion on \"Redis Cheatsheet\". Install Redis cli\n$ brew install redis-cli\n\nGeneral\nPING               # Test connection, returns PONG\nAUTH <password>    # Authenticate with password\nSELECT <db>        # Switch to a specific database (default is 0)\nDBSIZE             # Get total nu..."
url: "https://hashnode.com/posts/redis-cheatsheet/68d0be7c134d203cf708d5bd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Redis Cheatsheet](https://arpitrathore.com/redis-cheatsheet?utm_source=hashnode&utm_medium=feed)

Install Redis cli $ brew install redis-cli General PING # Test connection, returns PONG AUTH <password> # Authenticate with password SELECT <db> # Switch to a specific database (default is 0) DBSIZE # Get total nu...

Sep 22, 2025 · 3 min read · arpitrathore.com  
Read the article

-   [#redis](https://hashnode.com/tag/redis)

## Written by

[Arpit Rathore](https://hashnode.com/@arpitrathore)

@arpitrathore · Pune, India

  
[View profile](https://hashnode.com/@arpitrathore)

Staff Engineer

Staff Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
