How to install “command-not-found” on Debian 9 and on zsh. And a interesting software “cheat” which help to learn cmd on linux.

Install “command-not-found”:

1, $sudo apt intall command-not-found

2, $sudo apt-file update

$sudo update-command-not-found

After above, you can use command-not-found on bash shell now. Next is zsh:

Add one time in the .zshrc:  plugins=(command-not-found)

Last, you can install “cheat”:

sudo pip install cheat

Leave a Reply

Your email address will not be published. Required fields are marked *