Database
redis-cli
Redis Command-Line Interface
Ubuntu
CentOS
Debian
SUSE
Fedora
RHEL
Verified: 2026-03-04
Syntax
$redis-cli [options] [command]
Optionen
-h
-p
-a
-n
Examples
$redis-cli ping
$redis-cli get key
$redis-cli set key value
$redis-cli -h host -p port info
See also
Typical use cases
?
Standard usage
redis-cli --help
Note
Redis command-line client.
Export