I read in some article that
Ctrl+P - to display previous command
Ctrl+N - to display next command
But in my terminal it doesn't work. What might be a problem here?
I really would like to display previous/next command right away without using arrow.
And I know about !!
UPDATE: I'm under zsh shell, can I have that functionality under zsh shell?
Thanks to @Letizia, I added to ~/.zshrc two lines: