I'm using redis-cli within a bash script, now I want to save the current date in a specific format into a redis specific key. how do I do that?
I already tried redis-cli -x SET last-modified $(date +"%D %T")
but without success.
Any help will be appreciated!