Check connectivity
Ask the sample Redis server to respond.
PINGPractice Redis online with key-value commands. Check connectivity, store a greeting, and retrieve values before exploring caching and data structures in hands-on labs.
Start here
Load a task into the terminal, then press Enter to see the result. Each example works in the introductory session on this page.
Ask the sample Redis server to respond.
PINGRead the seeded greeting key.
GET greetingReplace the greeting, then use GET greeting to check it.
SET greeting "Hello, Redis"Increase the seeded visits counter by one.
INCR visitsReturn 1 when the key exists.
EXISTS greetingInspect the small sample keyspace.
KEYS *Read the seeded list of learning tasks.
LRANGE tasks 0 -1Add a task; run LRANGE tasks 0 -1 again to see the change.
RPUSH tasks "Practice Redis"Remove the seeded temporary key; deleting it again returns 0.
DEL temporaryNo setup needed
Practice Redis online with key-value commands. Check connectivity, store a greeting, and retrieve values before exploring caching and data structures in hands-on labs.
Start with the short command exercises above. When you are ready for a project, open the linked LabEx lab to work with real tools in an online Linux environment, with step-by-step guidance and immediate feedback.
Keep learning
Build on your Redis experiments with a structured skill tree. Explore the skills, choose a guided lab, and practice each concept in an online environment.
Start with key-value commands, counters, and expiration concepts. Sign in to a Redis lab for a real server and further practice with data structures, persistence, and configuration.
The introductory exercises are free. Sign in for a complete LabEx environment; session duration and resources depend on your lab and plan.
No local installation is required. Sign in and open the lab in a modern browser. Follow the lab instructions to configure software inside the environment.
This preview supports a limited command set. Sign in and launch the Redis lab for more commands, packages and services. Available software and permissions depend on the selected lab.
Follow the Redis Skill Tree for guided labs and challenges. Practice regularly, inspect command output and ask Labby for help.
Your next step
Continue with real tools, guided labs, and Labby assistance.