#!/bin/bash while read line do echo $line | redis-cli -h 192.168.1.13 -p 6379
-c sleep 0.005 done < redis.txt
每次执行一条命令睡眠5毫秒