On some Linux installations, there is a 'feature' in which bash automatically suggests similar commands or apt packages when you type a command which is not found on the path.
I find it very annoying, as this takes several seconds and blocks the terminal.
Where is this configured (bash, Ubuntu)? Where can I change/disable this? I just want the errormessage of an unknown command and nothing more.
Cannot find anything inside ~/.bashrc .
This is the output (takes 10 seconds) on my corporate machine, shortened:
> eco 'hello world'
Command 'eco' not found, did you mean:
command 'ecj' from deb ecj (3.16.0-1)
command 'ecc' from deb ecere-dev (0.44.15-1build3)
[...]
command 'co' from deb rcs (5.9.4-6)
command 'ico' from deb x11-apps (7.7+8)
command 'peco' from deb peco (0.5.1-1)
command 'ecm' from deb gmp-ecm (7.0.4+ds-5)
Try: apt install <deb name>
>
command_not_found_handle
function - see for example Command not found message