by grannyg00se · 14y ago · 0 comments
What sort of wizardry is this? My shell (BASH) does not say "did you by any chance mean XYZ?" It stops after saying "I have no clue what you just said" and then stares at me like I'm an idiot.
[Redacted]@[Redacted]:~$ nncat
No command 'nncat' found, did you mean:
Command 'sncat' from package 'sn' (universe)
Command 'ncat' from package 'nmap' (main)
Command 'uncat' from package 'socklog' (universe)
nncat: command not foundAlso, recent versions of Ubuntu include shell aliases that will search for packages related to missing commands. I'm sure that if you don't use Ubuntu, you could rip this functionality out and port it to whatever packaging system you use.