Linux Command Not Found Error And Solution

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/linux-command-not-found-error-solution/
PINTEREST
PINTEREST
INSTAGRAM

Common problem for system administrators or daily Linux users is command not found error. There are different causes about this problem. We can troubleshot this problem several ways.

Misspelled

Misspelling is number one problem especially novice users or beginners. Here is an example

In this example we try to run nmap but misspelled it. Ubuntu provides some help by listing suggestion about the correct command.

Path Is Not Correct

Path is used to specify commands locations. If command location is not specified in PATH environment variable we can get  an error like “The command could not be located”

We can solve this by adding /usr/bin to the PATH environment variable and export it like below.

Add new directory and export PATH

Not Installed

We generally assume that application is all ready installed. But default installed applications and commands changes from distribution to distribution or release from release

Hopefully Ubuntu provides information about the command and how to install it.

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/linux-command-not-found-error-solution/
PINTEREST
PINTEREST
INSTAGRAM

LEARN MORE  Linux Sftp Command With Examples

You may also like...

Leave a Reply

Your email address will not be published.

Enjoy this blog? Please spread the word :)