redis history command show code example Example: redis-cli port host $ redis-cli -h redis15.localnet.org -p 6390 ping PONG