![bash aws command not found mac bash aws command not found mac](https://miro.medium.com/max/600/1*waiSBQxd7B7QIjpvQ-aL8g.png)
So, the solution is to either install the missing command or find a tool that could do the same thing you were trying to do with the missing command. Docker containers often have only a few commands installed
![bash aws command not found mac bash aws command not found mac](http://edsellandicho.com/tutorials/images/aws/aws-cli-logo.png)
This is why Docker user stumble across things like ping command not found error etc. To cut down on the size of the operating system image, the containers often do not include even the most common Linux commands. This is often the case when you are running a Linux distribution in Docker containers. Occasionally, your system won’t find even the extremely common commands. Some popular commands get discontinued over the time Older tutorials on the web still mention using this command but you cannot use it anymore in newer Linux versions. This deprecated command was used for getting Ip address and other network interface information. You’ll have to find an alternative command to achieve the result. In some cases, popular commands may get discontinued and you may not even install it anymore. You may have to install the missing command You can use your distribution’s package manager to install it. If the command you are trying to run is not a popular, common command, you’ll have to install it first. While your Linux distribution comes with a huge number of commands installed by default, it is not possible to pre-install all the command line tools in a system. You cannot run a command if it is not installed already. This is another common reason behind the command not found error. Method 2: Ensure that the command is installed on your system So, make double sure what you are typing. Take a look at the example below, where I have misspelled the common ls command. Use of uppercase and lowercase characters.The use of 1 (numeral one), I (capital i) and l (lowercase L).The spaces between the command and its options.It is possible that the command you entered has a typo (spelling mistake). It is human to make mistakes, specially while typing. Fixing “bash: command not found” error Method 1: Double check the command name (no, seriously)