[root@Server2012 eres]# redis-cli -p 6479 -a root ping | grep -c "PONG"
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
1
redis-cli -p 6479 -a root ping 2>/dev/null | grep -c "PONG"
[root@Server2012 eres]# redis-cli -p 6479 -a root ping | grep -c "PONG"
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
1
redis-cli -p 6479 -a root ping 2>/dev/null | grep -c "PONG"