Bugzilla – Bug 1172306
Show suggestion to use apropos by cnf
Last modified: 2020-12-22 14:30:00 UTC
Some users could don't known many terminal commands. I always worked with apropos/man -k. I think bash could show information about one of this command on ran or cnf could suggest to use one of this command.
can you give an example how such interaction would work? like this? cnf xxx xxx: command not found calls automatically apropos xxx perlcn (1) - XXXX Perl XX ... Would it also do it for found commands? Probably too noisy. or just suggest "you can also try apropos xxx"
(In reply to Bernhard Wiedemann from comment #1) > can you give an example how such interaction would work? > > like this? > cnf xxx > xxx: command not found > calls automatically apropos xxx > perlcn (1) - XXXX Perl XX > ... That's good. > > > Would it also do it for found commands? Probably too noisy. > or just suggest "you can also try apropos xxx" 1. Bash could show info on login To discover command prompt, use apropos. 2. User type install application Bash instruct user to use cnf install User type cnf install cnf outputs: To install install type sudo zypper install install or use apropos install to see alternatives or cnf outputs: install: command not found. Type apropos install to see possibilities.