I recently saw an article on the internet. Using that by typing the first letter and pressing ↑ would show me the command starting with that letter.
For example let this be my command history:
sudo -s
ls
nautilus
Now if I type s and press ↑ would show me
sudo -s
How can I acheive this?
history
in Terminal. All command history are stored in~/.bash_history
file