reason: when setting environment variables, the edit profile file is not written correctly, resulting in LS and other commands not being recognized on the command line. Maybe we are writing Java_ Path
was modified when home and other environment paths were created
solution:
export path =/usr/local/SBIN/usr/local/bin/SBIN/bin/usr/SBIN/usr/bin/root/bin
Similar Posts:
- CentOS Error -bash:systemctl:command not found
- Mac ADB prompts command not found
- Ifconfig command not found for Linux Installation Errors [How to Solve]
- The CATALINA_HOME environment variable is not defined correctly
- [Solved] JPype Error: FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/lib/jvm’
- [Solved] NB: JAVA_HOME should point to a JDK not a JRE
- [Solved] Ls command not found is caused by the configuration of environment variables
- Solve the problem of ADB: command not found on MAC
- HDFS Operate hadoop Error: Command not Found [How to Solve]
- [Solved] java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/ImageFormatException (Upload Images Error)