Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
13
rated 0 times [  13] [ 0]  / answers: 1 / hits: 6139  / 1 Year ago, wed, february 22, 2023, 5:06:16

When I fail to type correctly a command, for example:



luca@mostro:~$ sido
No command 'sido' found, did you mean:
Command 'sudo' from package 'sudo' (main)
Command 'sudo' from package 'sudo-ldap' (universe)
Command 'sid' from package 'tendra' (universe)
sido: command not found


The command interpreter try to guess what program I wanted to run. This is very annoying to me (I associate it to google behavior).



Is it possible to remove this feature? And how?



I supposed that it were setup in my local ~/.bashrc, but the fast-check failed miserably...


More From » bash

 Answers
6
sudo apt-get remove command-not-found
sudo mv /usr/share/command-not-found /usr/share/command-not-found.bak


You need to restart your shell for the change to take affect.


[#37870] Wednesday, February 22, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tinchir

Total Points: 300
Total Questions: 116
Total Answers: 119

Location: American Samoa
Member since Sun, Jan 17, 2021
3 Years ago
tinchir questions
Tue, Sep 14, 21, 23:11, 3 Years ago
Mon, Dec 19, 22, 13:00, 1 Year ago
Sat, Feb 5, 22, 11:36, 2 Years ago
Mon, Aug 8, 22, 02:16, 2 Years ago
;