# Task 10

## <mark style="color:purple;">Task 10</mark>

*Which command is used to obtain all the keys in a database?*

### <mark style="color:purple;">Answer</mark>

keys \*

### <mark style="color:purple;">Explanation</mark>

When you run `keys *` in Redis, it will return all the keys stored in the selected database.
