#!/bin/bash
while read line
do
echo $line | redis-cli -h 192.168.*.* -p 6379 -c
sleep 0.005
done < redis.txt
脚本读取文件中redis命令批量写入redis
最新推荐文章于 2023-09-01 19:44:26 发布
#!/bin/bash
while read line
do
echo $line | redis-cli -h 192.168.*.* -p 6379 -c
sleep 0.005
done < redis.txt