Unix and Linux Discussions Tagged with command not found |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
8,056 |
BSD |
|
|
|
2 |
4,980 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
25,125 |
Shell Programming and Scripting |
|
|
|
2 |
8,930 |
Shell Programming and Scripting |
|
|
|
1 |
5,095 |
Shell Programming and Scripting |
|
|
|
3 |
19,697 |
Solaris |
|
|
|
5 |
7,414 |
Linux |
|
|
|
6 |
13,154 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
25,614 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,805 |
Red Hat |
|
|
|
9 |
45,406 |
BSD |
|
|
|
1 |
56,877 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
78,291 |
Linux |
|
|
|
2 |
6,744 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
53,936 |
HP-UX |
|
|
|
20 |
23,812 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
20,131 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,683 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,333 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,235 |
UNIX for Dummies Questions & Answers |
COMMAND-NOT-FOUND(1) http://en.opensuse.org/Sco COMMAND-NOT-FOUND(1)
NAME
command-not-found - A command-not-found handler
SYNOPSIS
command-not-found {binary_name} {repository}
ARGUMENTS
The following arguments are required:
binary_name
The name of binary you are looking for.
repository
The name of repository for search. For most cases, use zypp
DESCRIPTION
command-not-found handler is designed to tell users which package contains a missing command.
The handler is integrated to bash(1) and zsh(1) shells and is not necessary to call it directly. Just type a name of the command in your
favourite shell and you'll get a result.
If you consider c-n-f handler useless, just add unset command_not_found_handle to your profile or remove the command-not-found package.
Handler doesn't call the command-not-found binary directly, it only prints info about it. If you want to invoke it automatically, just add
export COMMAND_NOT_FOUND_AUTO=1 to your bash profile.
EXAMPLE
: NORMAL USAGE
For example you want to try blender, because you have heard that is an amazing program. So just type blender in shell:
$ blender
You get the following output:
The program 'blender' can be found in the following package:
* blender [ path: /usr/bin/blender, repository: zypp (openSUSE 11.1-0) ]
Try installing with:
sudo zypper install blender
bash: blender: command not found
SEE ALSO
scout(1)
AUTHOR
Pavol Rusnak <stick@gk2.sk>
Developer
http://gitorious.org/opensus 08/07/2009 COMMAND-NOT-FOUND(1)