I am facing issue while trying to use the UNLINK command with redis. Version that I am using is 5.0.8.
Any work around with this?
root@test:/tmp/redis-stable# redis-cli --version
redis-cli 5.0.8
root@test:/tmp/redis-stable# redis-cli
127.0.0.1:6379> keys
(error) ERR wrong number of arguments for 'keys' command
127.0.0.1:6379> keys *
1) "51"
2) "key2"
3) "key1"
127.0.0.1:6379>
127.0.0.1:6379>
127.0.0.1:6379>
127.0.0.1:6379> UNLINK key1
(error) ERR unknown command 'UNLINK'
127.0.0.1:6379>
127.0.0.1:6379>
127.0.0.1:6379>
127.0.0.1:6379> UNLINK key1 key2
(error) ERR unknown command 'UNLINK'
127.0.0.1:6379>
127.0.0.1:6379>
127.0.0.1:6379>
Is this a known issue or any version specific version..
Regards, Vicky
INFO serverreturn? The--versionswitch only tells you about the cli's version... - Itamar Haber