Focus on cloud service provider activities
Notes on website operation and maintenance

What does command not found mean? Execute the Linux command prompt command not found

Today, Lao Zuo is helping netizens Megalayer pays 199 yuan annually When installing the WEB environment in ECS, the command not found is prompted when executing the command. We also often encounter this problem, mainly because the default installation software in different server images is different. For example, we sometimes do not install curl or wget by default, and we will prompt that this software is not installed when we perform the download.

The command not found prompt indicates that such errors are usually caused by the system's inability to find the path to execute the command. The - bash: wget: command not found here is because there is no controller installed to download the command, so the command cannot be found. To resolve this error, we can first install a download command. The CentOS system can execute the following command.

 yum install wget -y

If Debian or Ubuntu is selected for the server, execute the following commands:

 apt -get install -y wget

Here, we can choose which image we are. Similarly, if we are installing other software and there is no prompt command, we should install it accordingly. Of course, this can only be installed directly on the system itself. If not, we need to install through the source.

Like( zero )
Do not reprint without permission: Lao Zuo's Notes » What does command not found mean? Execute the Linux command prompt command not found


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge