linux 脚本 排除 warning 信息(2>/dev/null) 定向到空
[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 n...
[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 n...