How to clear the redis terminal?

Member

by domenico , in category: Third Party Scripts , 3 months ago

How to clear the redis terminal?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by elisha_langworth , 3 months ago

@domenico 

To clear the Redis terminal, you can use the flushall command. This command will remove all data from the current Redis database.


To clear the Redis terminal, simply type the following command:

1
flushall


After executing this command, the Redis database will be cleared of all data and the terminal will be empty.