This is due to a problem with the environment variable. The profile file is not written correctly, resulting in the command line ls and other commands can not be recognized.
Solution: Just type in the following section from the command line. Add the PATH of all the commands under PATH. The system can find these command script files
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
Read More:
- Mac command not found solution
- Solution to the error $’\ R’: command not found when executing shell script under Linux
- The solution of push D command execution error (/ bin / sh: 1: push D: not found) on Ubuntu
- [solved] – bash: rabbitmq plugins: command not found or RA bbitmqctl:command not found
- Solution not found by JPS command
- Linux remote copy command and not a regular file solution
- Solution to command line option syntax error. Type command /? For help
- Ubuntu add apt repository command not found solution
- MacOS WGet ‘command not found’ solution
- C ා connect mysql: fatal error encountered during command execution solution
- On the error report after the command of ADB shell error:device not A solution of found
- Command not found: ADB appears on Mac
- Jstack command execution error: unable to open socket file: target process not responding or hotspot VM not loaded
- Solution to error: no devices found in ADB command
- Shell script running error bash: JPS: command not found
- $‘\r‘: command not found
- Vue cli 4 CMD command creates an error: error command failed NPM install – loglevel error – solution
- Error BC: command not found when git bash runs shell script
- Common linux commands — find command’s Exec
- Exception: jupyter command Jupiter notebook not found