I have a long text file of redis commands that I need to execute using the redis command line interface:
e.g.
DEL 9012012 DEL 1212 DEL 12214314
If you don't want to make a file, use echo and \n
echo
\n
echo "DEL 9012012\nDEL 1212" | redis-cli