Mailinglist Archive: opensuse-factory (341 mails)

< Previous Next >
Re: [opensuse-factory] issues with command-not-found speed
  • From: Rob OpenSuSE <rob.opensuse.linux@xxxxxxxxxxxxxx>
  • Date: Mon, 9 Feb 2009 14:36:20 +0000
  • Message-id: <ce9d8ed60902090636u597bdb0eu1128102b0c2aef0f@xxxxxxxxxxxxxx>
2009/2/9 Pavol Rusnak <prusnak@xxxxxxx>:

I did the proposed changes and closed the feature as DONE. You can read
more at http://stick.gk2.sk/blog/?p=95

That looks great. I wonder though if this is as clear as can be?
Would you mind considering a suggestion as feedback.

"Now it prints this info immediately:

$ blender
If 'blender' is not a typo you can run the following command to lookup
the package that contains the binary:
command-not-found blender
bash: blender: command not found

$ ifconfig
Absolute path to 'ifconfig' is '/sbin/ifconfig', so it might be
intended to be run only by user with superuser privileges (eg. root).
bash: ifconfig: command not found
"

Suggested simpler text

$ blender
If 'blender' is not a typo you can use command-not-found to lookup the
package that contains it, like this :
command-not-found blender
bash: blender: command not found

$ ifconfig
'ifconfig' has path '/sbin/ifconfig', so it may require root
privileges should typing /sbin/ifconfig fail to work correctly
bash: ifconfig: command not found


This seems simpler to understand, and avoids geek speak words like
'binary', without being ambiguous, and gives good hints towards 'best
practice'.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups