redis-cli Redis के लिए command-line interface है — एक Redis server से connect करने और commands को interactively चलाने के लिए उपयोग होता है। यह development, debugging, डेटा का निरीक्षण करने, और administration के लिए आवश्यक है।
Connect करना
redis-cli # connect to localhost:6379 (default)
redis-cli -h host -p 6379 # connect to a specific host/port
redis-cli -a password # with authentication
redis-cli -n 2 # select database number 2
