Redis Shortcut Keys
Table 1 describes the shortcut keys supported by the redis-cli client.
Keyboard shortcuts |
Description |
---|---|
Ctrl-c |
Exits redis-cli. |
Ctrl-h |
Deletes the letter where the cursor is located. This key is the same as the Delete key. |
Ctrl-d |
Delete the letter on the right of the cursor. |
Ctrl-t |
Moves the cursor one letter backward. |
Ctrl-b |
Moves the cursor one character to the left. |
Ctrl-f |
Moves the cursor one character to the right. |
Ctrl-p |
Goes to the previous history record. |
Ctrl-n |
Goes to the next history record. |
Ctrl+u |
Deletes the current line. |
Ctrl+k |
Deletes all letters on the right of the cursor. |
Ctrl+a |
Goes to the beginning of a line. |
Ctrl+e |
Goes to the end of a line. |
Ctrl+l |
Clear |
ESC+ [ + A |
Goes to the previous history record. |
ESC+ [ + B |
Goes to the next history record. |
ESC + [ + C |
Moves the cursor backward. |
ESC + [ + D |
Moves the cursor forward. |
ESC + [ + H |
Moves the cursor to the beginning of a line. |
ESC + [ + F |
Moves the cursor to the end of a line. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot