How can I config redis-cli to use host and port for a certain bash script? Something like:
redis-cli config host <host>
redis-cli config port <port>
is there way to do this?
How about creating a bash file to run this
redis-cli -h <<redis-host>> -p <<redis-port>>