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

被折叠的 条评论
为什么被折叠?