Opens a connection to a Redis server.

# To connect to the local server:
redis-cli

# To connect to a remote server on the default port (6379):
redis-cli -h <host>

# To connect to a remote server specifying a port number:
redis-cli -h <host> -p <port>

# To connect to a remote server specifying an URI:
redis-cli -u <uri>

# To specify a password:
redis-cli -a <password>

# To execute Redis command:
redis-cli <redis_command>

# To connect to the local cluster:
redis-cli -c