Questions tagged [command-not-found]
This tag is for posts related to the command not found error when trying to run a command or the package `command-not-found` for bash and zsh. It is usually solved with installing the related package or adding the executable to the `PATH` variable.
74 questions
3 votes
1 answer
407 views
How can I make Arch Linux show the names of packages in the bash command not found error?
On my Linux Mint systems, when I type a command that is not found but is available from a package in the Ubuntu or Mint repositories, the command not found error message includes the names of the ...
0 votes
1 answer
142 views
How to ask to install package with command-not-found instead of suggesting to install it
command-not-found asks a question like this when the command is not found in Kali Linux: Command 'co' not found, but can be installed with: sudo apt install rcs Do you want to install it? (N/y) In ...
-1 votes
1 answer
981 views
command not found, while it exist in appropriate place
i had fresh installed debian 12 and almost all commands are not found. root@debian:/# dpkg-reconfigure keyboard-configuration bash: dpkg-reconfigure: command not found i find it here root@debian:/...
0 votes
2 answers
375 views
Commands cannot be located after sourcing a bash script
I have a short bash script cdline that takes two arguments PATHS and LINE and changes directory to the respective LINE in PATHS: #!/bin/bash #command for changing directory to that in the given line......
0 votes
0 answers
34 views
'-bash: line 1: rescanscsi: command not found' error even though script location is in PATH and other script runs fine from same folder [duplicate]
I'm new to linux, trying to switch over from Windows, and I could really use some help. This is actually my first time using a forum such as this so please forgive any errors I make. I'm using Linux ...
1 vote
1 answer
2k views
shell saying "not found" for a command within a makefile
When defining a command as a constant within a Makefile: MY_COMMANDLINE="prog arg1 arg2" and using this constant later to get the command invoked, you could get: /bin/sh: prog arg1 arg2: ...
2 votes
0 answers
97 views
"Could not find foo in PATH" - but it's right there
I see the following behavior: $ foo Could not find foo in PATH $ which foo /usr/local/corp/bin/foo $ readlink -f `which foo` /path/to/opt/foo/foo $ /usr/local/corp/bin/foo starting foo, output for foo,...
0 votes
1 answer
68 views
Problem with .bashrc when I use anima command
I need to use the Anima command without having to write the entire path every time. I cannot use animaConvertImage in on an internal file in a folder other than the one where the Anima commands are ...