Fix “Command Not Found” in Linux
Common reasons why Linux cannot find a command and how to resolve it.
Common reasons why Linux cannot find a command and how to resolve it.
Linux cannot find the program you tried to run.
Example:
command: not found
Example on Ubuntu:
sudo apt install program_name
Linux commands are case sensitive.
Example:
python3 != Python3
See where commands are searched:
echo $PATH
Find the command location:
which command_name
If running a script in the current folder:
./script.sh
Score: 0
View-only mode. Editing requires your private owner token.
Comments
Loading comments...